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:
axel 2007-01-19 23:15:38 +10:00
parent f4c5eaf05b
commit 9c5fb0392d

View file

@ -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