From: Mark Lodato Date: Fri, 26 Feb 2010 03:40:11 +0000 (-0500) Subject: grep docs: use AsciiDoc literals consistently X-Git-Tag: v1.7.0.3~24^2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bfb8306de5382efdee20e9aef3ba6b7a3fae6a64;p=git.git 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 . Signed-off-by: Mark Lodato Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index ae663b021..2e161306e 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. -:: - A shortcut for specifying -C. + A shortcut for specifying `-C`. -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. -`...`:: +...:: Search blobs in the trees for specified patterns. \--::