From: Junio C Hamano Date: Fri, 14 Apr 2006 22:54:51 +0000 (-0700) Subject: "git cmd -h" for shell scripts. X-Git-Tag: v1.3.0-rc4~5 X-Git-Url: https://git.octo.it/?p=git.git;a=commitdiff_plain;h=cad1ed953513c3ef099d524746bb737c2be7b701 "git cmd -h" for shell scripts. Wrappers that use sh-setup took --help but not -h. Noticed by Sébastien Pierre. Signed-off-by: Junio C Hamano --- diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 025ef2d5..d15747f1 100755 --- 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