Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
"git cmd -h" for shell scripts.
author
Junio C Hamano
<junkio@cox.net>
Fri, 14 Apr 2006 22:54:51 +0000
(15:54 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 14 Apr 2006 22:54:51 +0000
(15:54 -0700)
Wrappers that use sh-setup took --help but not -h. Noticed by
Sébastien Pierre.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-sh-setup.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
e51c3b5
)
diff --git
a/git-sh-setup.sh
b/git-sh-setup.sh
index 025ef2d5f6b37d89dab1d602e1d8d1a80ab7f42e..d15747f1ed8f875a3c1bb7129e50bfbc8d2b033f 100755
(executable)
--- a/
git-sh-setup.sh
+++ b/
git-sh-setup.sh
@@
-30,7
+30,7
@@
$LONG_USAGE"
fi
case "$1" in
- --h|--he|--hel|--help)
+ -
h|-
-h|--he|--hel|--help)
echo "$LONG_USAGE"
exit
esac