summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDaniel Luz <dev@mernen.com>2016-11-19 21:48:59 -0200
committerDaniel Luz <dev@mernen.com>2016-11-19 21:48:59 -0200
commitbd3e7eedb1d8698a46e18afd2041e675f6597947 (patch)
tree327d6c6f2f30174ae754232480bc656ac5713105 /doc
parent1e6c2ac8e374c9f45204ecce1ddd96842ed26d15 (diff)
Add --files-without-matches flag.
Performs the opposite of --files-with-matches: only shows paths of files that contain zero matches. Closes #138
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 bc756317..2442a43f 100644
--- a/doc/rg.1
+++ b/doc/rg.1
@@ -182,6 +182,11 @@ Only show path of each file with matches.
.RS
.RE
.TP
+.B \-\-files\-without\-matches
+Only show path of each file with no matches.
+.RS
+.RE
+.TP
.B \-H, \-\-with\-filename
Prefix each match with the file name that contains it.
This is the default when more than one file is searched.
diff --git a/doc/rg.1.md b/doc/rg.1.md
index a3d37667..3980e873 100644
--- a/doc/rg.1.md
+++ b/doc/rg.1.md
@@ -119,6 +119,9 @@ Project home page: https://github.com/BurntSushi/ripgrep
-l, --files-with-matches
: Only show path of each file with matches.
+--files-without-matches
+: Only show path of each file with no matches.
+
-H, --with-filename
: Prefix each match with the file name that contains it. This is the
default when more than one file is searched.