Code

git-tag: update usage string and documentation.
authorJunio C Hamano <junkio@cox.net>
Mon, 10 Oct 2005 02:13:47 +0000 (19:13 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 10 Oct 2005 02:13:47 +0000 (19:13 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-tag.txt
git-tag.sh

index 1e0d4f5f46da084d7a956958f85cbff22c10de30..e11f51c266a76c6a5b09e99bc4900b64e640ea67 100644 (file)
@@ -1,16 +1,14 @@
 git-tag(1)
 ==========
-v0.99.4, Aug 2005
 
 NAME
 ----
 git-tag -  Create a tag object signed with GPG
 
 
-
 SYNOPSIS
 --------
-'git-tag' [-s | -a] [-f] <name>
+'git-tag' [-a | -s] [-f] [-m <msg>] <name> [<head>]
 
 DESCRIPTION
 -----------
index 76c1bcd8c9b5a42d4dedab2f3ea7261d91427538..400bdb9843c4ea19d17b2450f1efd16ba93b0fb8 100755 (executable)
@@ -4,7 +4,7 @@
 . git-sh-setup || die "Not a git archive"
 
 usage () {
-    echo >&2 "Usage: git-tag [-a | -s] [-f] [-m "tag message"] tagname"
+    echo >&2 "Usage: git-tag [-a | -s] [-f] [-m "tag message"] tagname [head]"
     exit 1
 }