From 9c5fb0392d99da2da90d34047cd1cf15d667ff78 Mon Sep 17 00:00:00 2001 From: axel Date: Fri, 19 Jan 2007 23:15:38 +1000 Subject: [PATCH] Make save_function print the help text when given no argumetns. Thanks to Alexander Kellett for the suggestion. darcs-hash:20070119131538-ac50b-a77f60f557677543f38c73ffc21a209432b8b26a.gz --- share/functions/save_function.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/functions/save_function.fish b/share/functions/save_function.fish index 0079af240..ac251922b 100644 --- a/share/functions/save_function.fish +++ b/share/functions/save_function.fish @@ -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