Skip to content

Commit 363337e

Browse files
committed
Merge branch 'as/show-ref-option-help-update'
A few descriptions in "git show-ref -h" have been clarified. * as/show-ref-option-help-update: show-ref: improve short help messages of options
2 parents f08cd19 + 9885871 commit 363337e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/show-ref.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ int cmd_show_ref(int argc, const char **argv, const char *prefix)
293293
struct show_one_options show_one_opts = {0};
294294
int verify = 0, exists = 0;
295295
const struct option show_ref_options[] = {
296-
OPT_BOOL(0, "tags", &patterns_opts.tags_only, N_("only show tags (can be combined with branches)")),
297-
OPT_BOOL(0, "branches", &patterns_opts.branches_only, N_("only show branches (can be combined with tags)")),
296+
OPT_BOOL(0, "tags", &patterns_opts.tags_only, N_("only show tags (can be combined with --branches)")),
297+
OPT_BOOL(0, "branches", &patterns_opts.branches_only, N_("only show branches (can be combined with --tags)")),
298298
OPT_HIDDEN_BOOL(0, "heads", &patterns_opts.branches_only,
299299
N_("deprecated synonym for --branches")),
300300
OPT_BOOL(0, "exists", &exists, N_("check for reference existence without resolving")),

0 commit comments

Comments
 (0)