From 6a93d151ec7f95ef5c27e803cded3ec99994a8f4 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 19 Nov 2008 16:07:02 +0100 Subject: [PATCH] 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 --- tg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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@";; -- 2.11.4.GIT