mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2024-12-12 19:18:24 +02:00
doc: more specific docs for --no-messages
This makes it clear that the --no-messages flag doesn't actually suppress all error messages, and is therefore not equivalent to redirecting stderr to /dev/null. See also: #860
This commit is contained in:
parent
8cb03941e6
commit
b4781e2f91
@ -1281,8 +1281,8 @@ This flag can be disabled with the --ignore-vcs flag.
|
||||
fn flag_no_messages(args: &mut Vec<RGArg>) {
|
||||
const SHORT: &str = "Suppress all error messages.";
|
||||
const LONG: &str = long!("\
|
||||
Suppress all error messages. This provides the same behavior as redirecting
|
||||
stderr to /dev/null on Unix-like systems.
|
||||
Suppress all error messages related to opening and reading files. Error
|
||||
messages related to the syntax of the pattern given are still shown.
|
||||
|
||||
This flag can be disabled with the --messages flag.
|
||||
");
|
||||
|
Loading…
Reference in New Issue
Block a user