Skip to content

Commit b8367d1

Browse files
committed
Merge branch 'ah/show-ref-usage-string'
Both "git show-ref -h" and "git show-ref --help" illustrated that the "--exclude-existing" option makes the command read list of refs from its standard input. Change only the "show-ref -h" output to have a pair of "<>" around the placeholder that designate an input file, i.e. "git show-ref --exclude-existing < <ref-list>". * ah/show-ref-usage-string: show-ref: place angle brackets around variables in usage string
2 parents a9400b0 + cc75add commit b8367d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/show-ref.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
static const char * const show_ref_usage[] = {
1010
N_("git show-ref [-q | --quiet] [--verify] [--head] [-d | --dereference] [-s | --hash[=<n>]] [--abbrev[=<n>]] [--tags] [--heads] [--] [<pattern>...]"),
11-
N_("git show-ref --exclude-existing[=pattern] < ref-list"),
11+
N_("git show-ref --exclude-existing[=<pattern>] < <ref-list>"),
1212
NULL
1313
};
1414

0 commit comments

Comments
 (0)