diff options
author | David Aguilar <davvid@gmail.com> | 2013-02-23 16:50:09 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-24 13:31:05 -0800 |
commit | 0b54366cddfc2ad7549b1ab01fe2d5f993d1ab58 (patch) | |
tree | 611e677556161765ee194fe8b7c4edc2dfa17f1a /git-sh-setup.sh | |
parent | b3600c36286517cda38df976946557ce3e87bd82 (diff) | |
download | git-0b54366cddfc2ad7549b1ab01fe2d5f993d1ab58.tar.gz git-0b54366cddfc2ad7549b1ab01fe2d5f993d1ab58.tar.xz |
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>
Diffstat (limited to 'git-sh-setup.sh')
-rw-r--r-- | git-sh-setup.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 795edd285..9cfbe7f14 100644 --- a/git-sh-setup.sh +++ b/git-sh-setup.sh @@ -84,14 +84,14 @@ if test -n "$OPTIONS_SPEC"; then else dashless=$(basename "$0" | sed -e 's/-/ /') usage() { - die "Usage: $dashless $USAGE" + die "usage: $dashless $USAGE" } if [ -z "$LONG_USAGE" ] then - LONG_USAGE="Usage: $dashless $USAGE" + LONG_USAGE="usage: $dashless $USAGE" else - LONG_USAGE="Usage: $dashless $USAGE + LONG_USAGE="usage: $dashless $USAGE $LONG_USAGE" fi |