projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e51c3b5
)
"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
diff --git
a/git-sh-setup.sh
b/git-sh-setup.sh
index
025ef2d
..
d15747f
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