summaryrefslogtreecommitdiff
path: root/builtin/tag.c
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2011-02-15 13:09:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-02-15 18:51:08 (GMT)
commit3f40617566a2f683835de9efab54df0f14b19b70 (patch)
tree4a349535ac07aaaef58dc149a3e5ce1b2e199d28 /builtin/tag.c
parent5027fa864dafd5a054aab2de6b4bae089f344fc6 (diff)
downloadgit-3f40617566a2f683835de9efab54df0f14b19b70.zip
git-3f40617566a2f683835de9efab54df0f14b19b70.tar.gz
git-3f40617566a2f683835de9efab54df0f14b19b70.tar.bz2
commit,merge,tag: describe -m likewise
This also removes the superfluous "specify" and rewords the misleading "if any" which sounds as if omitting "-m" would omit the merge commit message. (It means "if a merge commit is created at all".) Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/tag.c')
-rw-r--r--builtin/tag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/tag.c b/builtin/tag.c
index 6408171..246a2bc 100644
--- a/builtin/tag.c
+++ b/builtin/tag.c
@@ -376,8 +376,8 @@ int cmd_tag(int argc, const char **argv, const char *prefix)
OPT_GROUP("Tag creation options"),
OPT_BOOLEAN('a', NULL, &annotate,
"annotated tag, needs a message"),
- OPT_CALLBACK('m', NULL, &msg, "msg",
- "message for the tag", parse_msg_arg),
+ OPT_CALLBACK('m', NULL, &msg, "MESSAGE",
+ "tag message", parse_msg_arg),
OPT_FILENAME('F', NULL, &msgfile, "read message from file"),
OPT_BOOLEAN('s', NULL, &sign, "annotated and GPG-signed tag"),
OPT_STRING('u', NULL, &keyid, "key-id",