chiark
/
gitweb
/
~ian
/
topgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f5917d
)
Change tg help exit code to 0
author
martin f. krafft
<madduck@debian.org>
Wed, 19 Nov 2008 15:07:02 +0000
(16:07 +0100)
committer
martin f. krafft
<madduck@debian.org>
Wed, 19 Nov 2008 19:11:54 +0000
(20:11 +0100)
Printing --help is not an error, but a successful operation, if the help
output could be printed.
Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@suse.cz>
tg.sh
patch
|
blob
|
history
diff --git
a/tg.sh
b/tg.sh
index 2961106f735402d695043f31b32ffdef298566b3..959f621ed9ac4cec251c31412a9696b051a1a8c5 100644
(file)
--- 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@";;