summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2016-09-25 15:01:27 -0400
committerAndrew Gallant <jamslam@gmail.com>2016-09-25 15:01:29 -0400
commit9dc5464c84cf96c8e7cba96e2b470ebd066c2393 (patch)
tree4016714c5d55db24824f6c38139aa7877f3f8c60 /doc
parent95edcd4d3a7c98d5679c890ed9875a17e54ca001 (diff)
Stop after first match is found with --quiet.
Fixes #77.
Diffstat (limited to 'doc')
-rw-r--r--doc/rg.11
-rw-r--r--doc/rg.1.md3
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/rg.1 b/doc/rg.1
index 1b437b94..375b4662 100644
--- a/doc/rg.1
+++ b/doc/rg.1
@@ -91,6 +91,7 @@ Suppress line numbers.
.TP
.B \-q, \-\-quiet
Do not print anything to stdout.
+If a match is found in a file, stop searching that file.
.RS
.RE
.TP
diff --git a/doc/rg.1.md b/doc/rg.1.md
index ddc563dc..4c38ddf7 100644
--- a/doc/rg.1.md
+++ b/doc/rg.1.md
@@ -61,7 +61,8 @@ the raw speed of grep.
: Suppress line numbers.
-q, --quiet
-: Do not print anything to stdout.
+: Do not print anything to stdout. If a match is found in a file, stop
+ searching that file.
-r, --replace *ARG*
: Replace every match with the string given. Capture group indices (e.g., $5)