mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-06-25 14:22:54 +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:
@ -1281,8 +1281,8 @@ This flag can be disabled with the --ignore-vcs flag.
|
|||||||
fn flag_no_messages(args: &mut Vec<RGArg>) {
|
fn flag_no_messages(args: &mut Vec<RGArg>) {
|
||||||
const SHORT: &str = "Suppress all error messages.";
|
const SHORT: &str = "Suppress all error messages.";
|
||||||
const LONG: &str = long!("\
|
const LONG: &str = long!("\
|
||||||
Suppress all error messages. This provides the same behavior as redirecting
|
Suppress all error messages related to opening and reading files. Error
|
||||||
stderr to /dev/null on Unix-like systems.
|
messages related to the syntax of the pattern given are still shown.
|
||||||
|
|
||||||
This flag can be disabled with the --messages flag.
|
This flag can be disabled with the --messages flag.
|
||||||
");
|
");
|
||||||
|
Reference in New Issue
Block a user