diff options
author | Andrew Gallant <jamslam@gmail.com> | 2020-05-08 08:21:05 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2020-05-08 23:24:40 -0400 |
commit | 17dcc2bf51810032f07f060f7a6a43e43d42bb82 (patch) | |
tree | 00491fdde2f80c2de4ecd2231fe2c19bbf2059e6 /crates | |
parent | 9a858e490980d886d94ce0c316a71af3369e8808 (diff) |
doc: clarify that *files* override gitignores
This attempts to fix some mild confusion that came up as part of #1574.
Specifically:
https://github.com/BurntSushi/ripgrep/issues/1574#issuecomment-625780436
Diffstat (limited to 'crates')
-rw-r--r-- | crates/core/app.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/core/app.rs b/crates/core/app.rs index 5aa5760e..72c37837 100644 --- a/crates/core/app.rs +++ b/crates/core/app.rs @@ -693,8 +693,8 @@ fn arg_path(args: &mut Vec<RGArg>) { const SHORT: &str = "A file or directory to search."; const LONG: &str = long!( "\ -A file or directory to search. Directories are searched recursively. Paths \ -specified on the command line override glob and ignore rules. \ +A file or directory to search. Directories are searched recursively. File \ +paths specified on the command line override glob and ignore rules. \ " ); let arg = RGArg::positional("path", "PATH") |