summaryrefslogtreecommitdiff
path: root/Documentation/git-grep.txt
diff options
context:
space:
mode:
authorMark Lodato <lodatom@gmail.com>2010-02-25 22:40:11 -0500
committerJunio C Hamano <gitster@pobox.com>2010-02-25 22:39:12 -0800
commitbfb8306de5382efdee20e9aef3ba6b7a3fae6a64 (patch)
tree3908e1f1abdf1afc89fa477f31bb969588a7b80c /Documentation/git-grep.txt
parent04416018a77ced575c35791f8300ab014417aab9 (diff)
downloadgit-bfb8306de5382efdee20e9aef3ba6b7a3fae6a64.tar.gz
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>
Diffstat (limited to 'Documentation/git-grep.txt')
-rw-r--r--Documentation/git-grep.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt
index ae663b0210..2e161306e4 100644
--- a/Documentation/git-grep.txt
+++ b/Documentation/git-grep.txt
@@ -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::
@@ -125,7 +125,7 @@ OPTIONS
matches.
-<num>::
- A shortcut for specifying -C<num>.
+ A shortcut for specifying `-C<num>`.
-p::
--show-function::
@@ -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'.
@@ -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.
\--::