@matheusbsbs / matheus-bagliano / commits / bfb8306de5
Fork 0

grep docs: use AsciiDoc literals consistently

The convention for this particular page is to use AsciiDoc literal strings only for options (`-x` or `--long`), but not for definition list terms and not for <meta-vars>. Signed-off-by: Mark Lodato <lodatom@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Mark Lodato committed Feb 25, 2010 at 22:40 UTC bfb8306de5382efdee20e9aef3ba6b7a3fae6a64
1 file changed +5 -5
Documentation/git-grep.txt
+5 -5
@@ -98,8 +98,8 @@ OPTIONS
98 --files-without-match::
99 Instead of showing every matched line, show only the
100 names of files that contain (or do not contain) matches.
101 - For better compatibility with 'git diff', --name-only is a
102 - synonym for --files-with-matches.
101 + For better compatibility with 'git diff', `--name-only` is a
102 + synonym for `--files-with-matches`.
103
104 -z::
105 --null::
@@ -125,7 +125,7 @@ OPTIONS
125 matches.
126
127 -<num>::
128 - A shortcut for specifying -C<num>.
128 + A shortcut for specifying `-C<num>`.
129
130 -p::
131 --show-function::
@@ -140,7 +140,7 @@ OPTIONS
140
141 -e::
142 The next parameter is the pattern. This option has to be
143 - used for patterns starting with - and should be used in
143 + used for patterns starting with `-` and should be used in
144 scripts passing user input to grep. Multiple patterns are
145 combined by 'or'.
146
@@ -163,7 +163,7 @@ OPTIONS
163 Do not output matched lines; instead, exit with status 0 when
164 there is a match and with non-zero status when there isn't.
165
166 -`<tree>...`::
166 +<tree>...::
167 Search blobs in the trees for specified patterns.
168
169 \--::