From: martin f. krafft Date: Wed, 19 Nov 2008 15:07:02 +0000 (+0100) Subject: Change tg help exit code to 0 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topgit.git;a=commitdiff_plain;h=6a93d151ec7f95ef5c27e803cded3ec99994a8f4 Change tg help exit code to 0 Printing --help is not an error, but a successful operation, if the help output could be printed. Signed-off-by: martin f. krafft Acked-by: Petr Baudis --- diff --git a/tg.sh b/tg.sh index 2961106..959f621 100644 --- a/tg.sh +++ b/tg.sh @@ -270,7 +270,7 @@ shift case "$cmd" in help|--help|-h) do_help "$1" - exit 1;; + exit 0;; --hooks-path) # Internal command echo "@hooksdir@";;