diff options
author | Andrew Gallant <jamslam@gmail.com> | 2016-09-25 14:53:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-25 14:53:31 -0400 |
commit | 95edcd4d3a7c98d5679c890ed9875a17e54ca001 (patch) | |
tree | 42df5a5777609321dfa947156845c31a7d2cc589 /doc | |
parent | d97f4049701a483570cf0ebeb2bc00e9b9a1f214 (diff) | |
parent | a8f3d9e87e7e9192a9c1815da7c07d4522ccc1b2 (diff) |
Merge pull request #42 from andschwa/files-with-matches
Files with matches
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rg.1 | 5 | ||||
-rw-r--r-- | doc/rg.1.md | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -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. diff --git a/doc/rg.1.md b/doc/rg.1.md index 139582c3..ddc563dc 100644 --- a/doc/rg.1.md +++ b/doc/rg.1.md @@ -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] |