summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2016-11-06 14:36:08 -0500
committerAndrew Gallant <jamslam@gmail.com>2016-11-06 14:36:08 -0500
commit77ad7588ae191c8216f0696dad1996c4d0dd561b (patch)
tree776ba84180f434d830663bf78e7e4bda413a9200 /doc
parent58aca2efb24801b43870acac5b40c59fbc9ef350 (diff)
Add --no-messages flag.
This flag is similar to what's found in grep: it will suppress all error messages, such as those shown when a particular file couldn't be read. Closes #149
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 fa640e15..d1a59dc9 100644
--- a/doc/rg.1
+++ b/doc/rg.1
@@ -226,6 +226,11 @@ context related options.)
.RS
.RE
.TP
+.B \-\-no\-messages
+Suppress all error messages.
+.RS
+.RE
+.TP
.B \-\-no\-mmap
Never use memory maps, even when they might be faster.
.RS
diff --git a/doc/rg.1.md b/doc/rg.1.md
index e2f42e73..bf850a98 100644
--- a/doc/rg.1.md
+++ b/doc/rg.1.md
@@ -147,6 +147,9 @@ Project home page: https://github.com/BurntSushi/ripgrep
when ripgrep thinks it will be faster. (Note that mmap searching
doesn't currently support the various context related options.)
+--no-messages
+: Suppress all error messages.
+
--no-mmap
: Never use memory maps, even when they might be faster.