diff options
author | axel <axel@liljencrantz.se> | 2006-11-18 02:24:38 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-11-18 02:24:38 +1000 |
commit | 1b71f91a014996d60886885c6fee091e8013d988 (patch) | |
tree | c01b41cc476bd2143677cb053b8cdef5f5ccfd78 /share/functions/vared.fish | |
parent | b30886228c546f99f974b64101f6ca164cea25e4 (diff) |
Update documentation display code to run roff on the client system instead of pregenerating documentation and compiling it into program binaries
darcs-hash:20061117162438-ac50b-5c4c7f0bd8bf53a16e16ecfead9569e642b7160f.gz
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 |