diff options
author | freku045@student.liu.se <freku045@student.liu.se> | 2005-12-13 23:30:31 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-14 11:53:43 +0100 |
commit | 806f36d4d7caf75b6d3e098cb0353d85d3477c7d (patch) | |
tree | 7925350d3228cd00602abb91fe8712c236ddb2bb /git-tag.sh | |
parent | t3200: branch --help does not die anymore. (diff) | |
download | git-806f36d4d7caf75b6d3e098cb0353d85d3477c7d.tar.xz git-806f36d4d7caf75b6d3e098cb0353d85d3477c7d.zip |
Trivial usage string clean-up
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-tag.sh')
-rwxr-xr-x | git-tag.sh | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/git-tag.sh b/git-tag.sh index 2435a75f7a..6d0c973239 100755 --- a/git-tag.sh +++ b/git-tag.sh @@ -1,17 +1,9 @@ #!/bin/sh # Copyright (c) 2005 Linus Torvalds -GIT_DIR=`git-rev-parse --git-dir` || exit $? - -usage () { - echo >&2 "Usage: git-tag [-a | -s | -u <key-id>] [-f | -d] [-m <msg>] <tagname> [<head>]" - exit 1 -} - -die () { - echo >&2 "$*" - exit 1 -} +USAGE='[-a | -s | -u <key-id>] [-f | -d] [-m <msg>] <tagname> [<head>]' +SUBDIRECTORY_OK='Yes' +. git-sh-setup annotate= signed= |