git-sh-setup: use a lowercase "usage:" string
mergetool, bisect, and other commands that use git-sh-setup print a usage string that is inconsistent with the rest of Git when they are invoked as "git $cmd -h". The compiled builtins use the lowercase "usage:" string but these commands say "Usage:". Adjust the shell library to make these consistent. Signed-off-by: David Aguilar <davvid@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
David Aguilar committed
Feb 23, 2013 at 16:50 UTC
0b54366cddfc2ad7549b1ab01fe2d5f993d1ab58
1 file changed
+3
-3
git-sh-setup.sh
+3
-3
@@ -84,14 +84,14 @@ if test -n "$OPTIONS_SPEC"; then
84
else
85
dashless=$(basename "$0" | sed -e 's/-/ /')
86
usage() {
87
- die "Usage: $dashless $USAGE"
87
+ die "usage: $dashless $USAGE"
88
}
89
90
if [ -z "$LONG_USAGE" ]
91
then
92
- LONG_USAGE="Usage: $dashless $USAGE"
92
+ LONG_USAGE="usage: $dashless $USAGE"
93
else
94
- LONG_USAGE="Usage: $dashless $USAGE
94
+ LONG_USAGE="usage: $dashless $USAGE
95
96
$LONG_USAGE"
97
fi