"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 025ef2d5f6b37d89dab1d602e1d8d1a80ab7f42e..d15747f1ed8f875a3c1bb7129e50bfbc8d2b033f 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