summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2016-09-25 14:53:31 -0400
committerGitHub <noreply@github.com>2016-09-25 14:53:31 -0400
commit95edcd4d3a7c98d5679c890ed9875a17e54ca001 (patch)
tree42df5a5777609321dfa947156845c31a7d2cc589 /doc
parentd97f4049701a483570cf0ebeb2bc00e9b9a1f214 (diff)
parenta8f3d9e87e7e9192a9c1815da7c07d4522ccc1b2 (diff)
Merge pull request #42 from andschwa/files-with-matches
Files with matches
Diffstat (limited to 'doc')
-rw-r--r--doc/rg.15
-rw-r--r--doc/rg.1.md3
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/rg.1 b/doc/rg.1
index 0df63968..1b437b94 100644
--- a/doc/rg.1
+++ b/doc/rg.1
@@ -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]