From: Christian Couder Date: Fri, 25 Jun 2010 02:16:24 +0000 (+0200) Subject: Documentation: grep: fix asciidoc problem with -- X-Git-Tag: v1.7.2-rc0~7^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8b6d7924f865f29e625d0fbd3e1307af30e51908;p=git.git Documentation: grep: fix asciidoc problem with -- Asciidoc interprets two dashes separated by spaces as a single big dash. So let's escape the first dash, so that "\--" will properly appear as "--". Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index 4b32322a6..912bddd7b 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -183,7 +183,7 @@ OPTIONS Examples -------- -git grep 'time_t' -- '*.[ch]':: +git grep 'time_t' \-- '*.[ch]':: Looks for `time_t` in all tracked .c and .h files in the working directory and its subdirectories.