mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Make save_function print the help text when given no argumetns. Thanks to Alexander Kellett for the suggestion.
darcs-hash:20070119131538-ac50b-a77f60f557677543f38c73ffc21a209432b8b26a.gz
This commit is contained in:
parent
f4c5eaf05b
commit
9c5fb0392d
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ function save_function --description "Save the current definition of all specifi
|
|||
__fish_print_help save_function
|
||||
return 0
|
||||
end
|
||||
else
|
||||
__fish_print_help save_function
|
||||
end
|
||||
|
||||
set -l res 0
|
||||
|
|
Loading…
Reference in a new issue