mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-04-24 17:12:16 +02:00
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
This commit is contained in:
parent
9a858e4909
commit
17dcc2bf51
@ -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")
|
||||
|
@ -75,8 +75,9 @@ _PATTERN_::
|
||||
dash, use the -e/--regexp option.
|
||||
|
||||
_PATH_::
|
||||
A file or directory to search. Directories are searched recursively. Paths
|
||||
specified explicitly on the command line override glob and ignore rules.
|
||||
A file or directory to search. Directories are searched recursively. File
|
||||
paths specified explicitly on the command line override glob and ignore
|
||||
rules.
|
||||
|
||||
|
||||
OPTIONS
|
||||
|
Loading…
x
Reference in New Issue
Block a user