diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-09-14 14:59:06 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-09-14 14:59:06 -0700 |
commit | b8367d1f012ceb86ab48c9024a1bac111bb52dde (patch) | |
tree | 70c501056efbc59e5c431317ac0adfe2e700b4f2 /builtin | |
parent | Merge branch 'sg/help-group' (diff) | |
parent | show-ref: place angle brackets around variables in usage string (diff) | |
download | tgif-b8367d1f012ceb86ab48c9024a1bac111bb52dde.tar.xz |
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
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/show-ref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/show-ref.c b/builtin/show-ref.c index dfbc314ac2..131ef28e5c 100644 --- a/builtin/show-ref.c +++ b/builtin/show-ref.c @@ -8,7 +8,7 @@ static const char * const show_ref_usage[] = { N_("git show-ref [-q | --quiet] [--verify] [--head] [-d | --dereference] [-s | --hash[=<n>]] [--abbrev[=<n>]] [--tags] [--heads] [--] [<pattern>...]"), - N_("git show-ref --exclude-existing[=pattern] < ref-list"), + N_("git show-ref --exclude-existing[=<pattern>] < <ref-list>"), NULL }; |