summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-04-23 18:07:57 -0400
committerAndrew Gallant <jamslam@gmail.com>2018-04-23 18:07:57 -0400
commitb4781e2f91c0ea561fe8a8cb80cfae3aae9bfffb (patch)
treed5ad6318e63ade71447f3707783ab5a478c1d155 /src
parent8cb03941e6ec978cabc2cf2f7c348b389c9cc917 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/app.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.rs b/src/app.rs
index 54ae1ac3..5d4faac3 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -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.
");