diff options
Diffstat (limited to 'share/functions/vared.fish')
-rw-r--r-- | share/functions/vared.fish | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/functions/vared.fish b/share/functions/vared.fish index e77acd47..979cc594 100644 --- a/share/functions/vared.fish +++ b/share/functions/vared.fish @@ -9,10 +9,12 @@ function vared -d (N_ "Edit variable value") switch $argv case '-h' '--h' '--he' '--hel' '--help' - help vared + __fish_print_help vared + return 0 case '-*' printf (_ "%s: Unknown option %s\n") vared $argv + return 1 case '*' if test (count $$argv ) -lt 2 |