"git cmd -h" for shell scripts.
authorJunio C Hamano <junkio@cox.net>
Fri, 14 Apr 2006 22:54:51 +0000 (15:54 -0700)
committerJunio 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

index 025ef2d..d15747f 100755 (executable)
@@ -30,7 +30,7 @@ $LONG_USAGE"
 fi
 
 case "$1" in
-       --h|--he|--hel|--help)
+       -h|--h|--he|--hel|--help)
        echo "$LONG_USAGE"
        exit
 esac