diff options
author | Andrew Gallant <jamslam@gmail.com> | 2016-09-25 15:01:27 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2016-09-25 15:01:29 -0400 |
commit | 9dc5464c84cf96c8e7cba96e2b470ebd066c2393 (patch) | |
tree | 4016714c5d55db24824f6c38139aa7877f3f8c60 /doc | |
parent | 95edcd4d3a7c98d5679c890ed9875a17e54ca001 (diff) |
Stop after first match is found with --quiet.
Fixes #77.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rg.1 | 1 | ||||
-rw-r--r-- | doc/rg.1.md | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -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) |