Skip to content

Commit 3233d51

Browse files
Ikkegitster
authored andcommitted
doc/for-each-ref: consistently use '=' to between argument names and values
The synopsis and description inconsistently add a '=' between the argument name and it's value. Make this consistent. Signed-off-by: Kevin Daudt <me@ikke.info> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 794b7e1 commit 3233d51

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

Documentation/git-for-each-ref.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ SYNOPSIS
1010
[verse]
1111
'git for-each-ref' [--count=<count>] [--shell|--perl|--python|--tcl]
1212
[(--sort=<key>)...] [--format=<format>] [<pattern>...]
13-
[--points-at <object>] [(--merged | --no-merged) [<object>]]
14-
[--contains [<object>]] [--no-contains [<object>]]
13+
[--points-at=<object>]
14+
(--merged[=<object>] | --no-merged[=<object>])
15+
[--contains[=<object>]] [--no-contains[=<object>]]
1516

1617
DESCRIPTION
1718
-----------
@@ -65,24 +66,24 @@ OPTIONS
6566
the specified host language. This is meant to produce
6667
a scriptlet that can directly be `eval`ed.
6768

68-
--points-at <object>::
69+
--points-at=<object>::
6970
Only list refs which points at the given object.
7071

71-
--merged [<object>]::
72+
--merged[=<object>]::
7273
Only list refs whose tips are reachable from the
7374
specified commit (HEAD if not specified),
7475
incompatible with `--no-merged`.
7576

76-
--no-merged [<object>]::
77+
--no-merged[=<object>]::
7778
Only list refs whose tips are not reachable from the
7879
specified commit (HEAD if not specified),
7980
incompatible with `--merged`.
8081

81-
--contains [<object>]::
82+
--contains[=<object>]::
8283
Only list refs which contain the specified commit (HEAD if not
8384
specified).
8485

85-
--no-contains [<object>]::
86+
--no-contains[=<object>]::
8687
Only list refs which don't contain the specified commit (HEAD
8788
if not specified).
8889

0 commit comments

Comments
 (0)