summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Whitehouse <rwhitehouse.rw@gmail.com>2023-03-28 13:22:59 +0200
committerGitHub <noreply@github.com>2023-03-28 07:22:59 -0400
commit041544853c86dde91c49983e5ddd0aa799bd2831 (patch)
treef11a3d6376ae8da1a015579c2f43c3267fa54718
parenta7ae9e4043533ba1b6e2f63b989b84f27d961b37 (diff)
doc: fix --quiet docs
The wording was previously inverted, which had the opposite meaning as was intended. Fixes #1962
-rw-r--r--crates/core/app.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/core/app.rs b/crates/core/app.rs
index 51527fef..cd4875f9 100644
--- a/crates/core/app.rs
+++ b/crates/core/app.rs
@@ -2583,8 +2583,8 @@ Do not print anything to stdout. If a match is found in a file, then ripgrep
will stop searching. This is useful when ripgrep is used only for its exit
code (which will be an error if no matches are found).
-When --files is used, then ripgrep will stop finding files after finding the
-first file that matches all ignore rules.
+When --files is used, ripgrep will stop finding files after finding the
+first file that does not match any ignore rules.
"
);
let arg = RGArg::switch("quiet").short("q").help(SHORT).long_help(LONG);