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:
c35a45e
)
tg.sh: Add -h, --help aliases for the help command
author
Antonio Ospite
<ao2@openezx.org>
Sat, 9 Aug 2008 00:58:22 +0000
(
02:58
+0200)
committer
Petr Baudis
<pasky@suse.cz>
Sat, 9 Aug 2008 00:58:22 +0000
(
02:58
+0200)
I added some more help switches, I had to read the code to find the 'help'
command because the usual --help and -h didn't worked.
Signed-off-by: Antonio Ospite <ao2@openezx.org>
Signed-off-by: Petr Baudis <pasky@suse.cz>
tg.sh
patch
|
blob
|
history
diff --git
a/tg.sh
b/tg.sh
index c5c71a22fa25064b72746111b3e9633244956286..d520a230096ebdfbe442af71f333c59c7a9a1c32 100644
(file)
--- a/
tg.sh
+++ b/
tg.sh
@@
-198,7
+198,7
@@
cmd="$1"
shift
case "$cmd" in
-help)
+help
|--help|-h
)
do_help "$1"
exit 1;;
--hooks-path)