X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=Documentation%2Fgit-grep.txt;h=4b32322a67d9f3de8b555d3d9d03e7ddab14e0a7;hb=e22d62d9151e0e51c3dc4f951fb5d88dc30482c6;hp=ee506e67f09034591b4cd0215f72f61ff607d128;hpb=193c7aaf5f17116f5e3e2449326fd9f6cdfc062d;p=git.git diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index ee506e67f..4b32322a6 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -17,7 +17,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 ...] @@ -114,12 +114,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`