Skip to content

Commit

Permalink
Merge branch 'ah/show-ref-usage-string'
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Junio C Hamano committed Sep 14, 2015
2 parents a9400b0 + cc75add commit b8367d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/show-ref.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down

0 comments on commit b8367d1

Please sign in to comment.