Merge pull request #42 from andschwa/files-with-matches

Files with matches
This commit is contained in:
Andrew Gallant
2016-09-25 14:53:31 -04:00
committed by GitHub
7 changed files with 96 additions and 9 deletions

View File

@@ -35,6 +35,11 @@ Only show count of line matches for each file.
.RS
.RE
.TP
.B \-l, \-\-files\-with\-matches
Only show path of each file with matches.
.RS
.RE
.TP
.B \-\-color \f[I]WHEN\f[]
Whether to use coloring in match.
Valid values are never, always or auto.

View File

@@ -29,6 +29,9 @@ the raw speed of grep.
-c, --count
: Only show count of line matches for each file.
-l, --files-with-matches
: Only show path of each file with matches.
--color *WHEN*
: Whether to use coloring in match. Valid values are never, always or auto.
[default: auto]