summaryrefslogtreecommitdiffstats
path: root/git-grep.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2010-03-03 05:13:12 +0000
committerJunio C Hamano <junio@kernel.org>2010-03-03 05:13:12 +0000
commit4aa0bccc4a84ed806fa27aefcb79e56e508dc6c9 (patch)
treecda77a5862862e75ef52e0658674a70c4143bd80 /git-grep.txt
parentbf43344465f332611b6ae190bc6ac4eedb9cfba3 (diff)
downloadgit-htmldocs-4aa0bccc4a84ed806fa27aefcb79e56e508dc6c9.tar.gz
Autogenerated HTML docs for v1.7.0.1-138-ga75b
Diffstat (limited to 'git-grep.txt')
-rw-r--r--git-grep.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/git-grep.txt b/git-grep.txt
index c44724d03..6305f6d82 100644
--- a/git-grep.txt
+++ b/git-grep.txt
@@ -18,7 +18,7 @@ SYNOPSIS
[-z | --null]
[-c | --count] [--all-match] [-q | --quiet]
[--max-depth <depth>]
- [--color | --no-color]
+ [--color[=<when>] | --no-color]
[-A <post-context>] [-B <pre-context>] [-C <context>]
[-f <file>] [-e] <pattern>
[--and|--or|--not|(|)|-e <pattern>...] [<tree>...]
@@ -111,12 +111,14 @@ OPTIONS
Instead of showing every matched line, show the number of
lines that match.
---color::
+--color[=<when>]::
Show colored matches.
+ The value must be always (the default), never, or auto.
--no-color::
Turn off match highlighting, even when the configuration file
gives the default to color output.
+ Same as `--color=never`.
-[ABC] <context>::
Show `context` trailing (`A` -- after), or leading (`B`