[PATCH v2 01/16] git-sh-setup: use a lowercase "usage:" string
- From
David Aguilar <davvid@gmail.com>
- Date
- Feb 24, 2013, 00:50 UTC
- Message-ID
- <1361667024-49776-2-git-send-email-davvid@gmail.com>
- In-Reply-To
- <1361667024-49776-1-git-send-email-davvid@gmail.com>
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> --- git-sh-setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 795edd2..9cfbe7f 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
-- 1.8.2.rc0.263.g20d9441