Skip to content

Commit

Permalink
"git cmd -h" for shell scripts.
Browse files Browse the repository at this point in the history
Wrappers that use sh-setup took --help but not -h.  Noticed by
Sébastien Pierre.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Apr 14, 2006
1 parent e51c3b5 commit cad1ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-sh-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $LONG_USAGE"
fi

case "$1" in
--h|--he|--hel|--help)
-h|--h|--he|--hel|--help)
echo "$LONG_USAGE"
exit
esac
Expand Down

0 comments on commit cad1ed9

Please sign in to comment.