summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-09-14 14:59:06 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-09-14 14:59:06 -0700
commitb8367d1f012ceb86ab48c9024a1bac111bb52dde (patch)
tree70c501056efbc59e5c431317ac0adfe2e700b4f2 /builtin
parentMerge branch 'sg/help-group' (diff)
parentshow-ref: place angle brackets around variables in usage string (diff)
downloadtgif-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.c2
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
};