1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-03-17 20:28:03 +02:00

doc: fix --quiet docs

The wording was previously inverted, which had the opposite
meaning as was intended.

Fixes #1962
This commit is contained in:
Ryan Whitehouse 2023-03-28 13:22:59 +02:00 committed by GitHub
parent a7ae9e4043
commit 041544853c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);