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 | a9400b01dfc2256ae6e2c3bd3671519188a3a467 (diff) | |
parent | cc75addd238a0d59dade0a67d442ab7c148e92ad (diff) | |
download | git-b8367d1f012ceb86ab48c9024a1bac111bb52dde.tar.gz git-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 dfbc314ac..131ef28e5 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 }; |