X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-tag.c;h=080e04a8fc6fc1fc3f10f59a4c1f1aa067b81aa1;hb=974e6e42f7a66b69bd684af4f637ab064acfdf92;hp=dc3db628115cc7b3c62c1d54af37c87ba126a5db;hpb=df217ed6430efe444a09fffdafd39720ae3f9864;p=git.git diff --git a/builtin-tag.c b/builtin-tag.c index dc3db6281..080e04a8f 100644 --- a/builtin-tag.c +++ b/builtin-tag.c @@ -376,8 +376,8 @@ int cmd_tag(int argc, const char **argv, const char *prefix) struct commit_list *with_commit = NULL; struct option options[] = { OPT_BOOLEAN('l', NULL, &list, "list tag names"), - { OPTION_INTEGER, 'n', NULL, &lines, NULL, - "print n lines of each tag message", + { OPTION_INTEGER, 'n', NULL, &lines, "n", + "print lines of each tag message", PARSE_OPT_OPTARG, NULL, 1 }, OPT_BOOLEAN('d', NULL, &delete, "delete tags"), OPT_BOOLEAN('v', NULL, &verify, "verify tags"),