X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-grep.txt;h=6305f6d82a52d7d3b9e0aac2b2712a4e91931666;hb=c2b456b8956c2091318edaee362119e0e96b86b7;hp=c44724d03a60640d34963f068149a3fe6803d20e;hpb=241b9254e1c8ff071d8054f8b6fbe1883b389d69;p=git.git diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index c44724d03..6305f6d82 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -18,7 +18,7 @@ SYNOPSIS [-z | --null] [-c | --count] [--all-match] [-q | --quiet] [--max-depth ] - [--color | --no-color] + [--color[=] | --no-color] [-A ] [-B ] [-C ] [-f ] [-e] [--and|--or|--not|(|)|-e ...] [...] @@ -111,12 +111,14 @@ OPTIONS Instead of showing every matched line, show the number of lines that match. ---color:: +--color[=]:: 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] :: Show `context` trailing (`A` -- after), or leading (`B`