Skip to content

Commit

Permalink
grep docs: use AsciiDoc literals consistently
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Lodato authored and Junio C Hamano committed Feb 26, 2010
1 parent 0441601 commit bfb8306
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Documentation/git-grep.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ OPTIONS
--files-without-match::
Instead of showing every matched line, show only the
names of files that contain (or do not contain) matches.
For better compatibility with 'git diff', --name-only is a
synonym for --files-with-matches.
For better compatibility with 'git diff', `--name-only` is a
synonym for `--files-with-matches`.

-z::
--null::
Expand All @@ -125,7 +125,7 @@ OPTIONS
matches.

-<num>::
A shortcut for specifying -C<num>.
A shortcut for specifying `-C<num>`.

-p::
--show-function::
Expand All @@ -140,7 +140,7 @@ OPTIONS

-e::
The next parameter is the pattern. This option has to be
used for patterns starting with - and should be used in
used for patterns starting with `-` and should be used in
scripts passing user input to grep. Multiple patterns are
combined by 'or'.

Expand All @@ -163,7 +163,7 @@ OPTIONS
Do not output matched lines; instead, exit with status 0 when
there is a match and with non-zero status when there isn't.

`<tree>...`::
<tree>...::
Search blobs in the trees for specified patterns.

\--::
Expand Down

0 comments on commit bfb8306

Please sign in to comment.