diff options
author | Andrew Gallant <jamslam@gmail.com> | 2018-04-23 18:07:57 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2018-04-23 18:07:57 -0400 |
commit | b4781e2f91c0ea561fe8a8cb80cfae3aae9bfffb (patch) | |
tree | d5ad6318e63ade71447f3707783ab5a478c1d155 /src | |
parent | 8cb03941e6ec978cabc2cf2f7c348b389c9cc917 (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.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. "); |