Skip to content

Commit a633651

Browse files
committed
Merge branch 'jk/tag-h-column-is-a-listing-option'
"git tag -h" used to show the "--column" and "--sort" options that are about listing in a wrong section. * jk/tag-h-column-is-a-listing-option: tag: fix some mis-organized options in "-h" listing
2 parents e80e85a + dd059c6 commit a633651

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/tag.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,13 +605,13 @@ int cmd_tag(int argc, const char **argv, const char *prefix)
605605
OPT_STRING('u', "local-user", &keyid, N_("key-id"),
606606
N_("use another key to sign the tag")),
607607
OPT__FORCE(&force, N_("replace the tag if exists")),
608+
609+
OPT_GROUP(N_("Tag listing options")),
608610
OPT_COLUMN(0, "column", &colopts, N_("show tag list in columns")),
609611
{
610612
OPTION_CALLBACK, 0, "sort", &tag_sort, N_("type"), N_("sort tags"),
611613
PARSE_OPT_NONEG, parse_opt_sort
612614
},
613-
614-
OPT_GROUP(N_("Tag listing options")),
615615
{
616616
OPTION_CALLBACK, 0, "contains", &with_commit, N_("commit"),
617617
N_("print only tags that contain the commit"),

0 commit comments

Comments
 (0)