mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-01-19 05:49:14 +02:00
parent
20534fad04
commit
145cef2eff
@ -1945,6 +1945,10 @@ Don't respect ignore files (.gitignore, .ignore, etc.). This implies
|
|||||||
This does *not* imply --no-ignore-files, since --ignore-file is specified
|
This does *not* imply --no-ignore-files, since --ignore-file is specified
|
||||||
explicitly as a command line argument.
|
explicitly as a command line argument.
|
||||||
|
|
||||||
|
When given only once, the -u flag is identical in behavior to --no-ignore and
|
||||||
|
can be considered an alias. However, subsequent -u flags have additional
|
||||||
|
effects; see --unrestricted.
|
||||||
|
|
||||||
This flag can be disabled with the --ignore flag.
|
This flag can be disabled with the --ignore flag.
|
||||||
"
|
"
|
||||||
);
|
);
|
||||||
@ -2950,8 +2954,9 @@ fn flag_unrestricted(args: &mut Vec<RGArg>) {
|
|||||||
const LONG: &str = long!(
|
const LONG: &str = long!(
|
||||||
"\
|
"\
|
||||||
Reduce the level of \"smart\" searching. A single -u won't respect .gitignore
|
Reduce the level of \"smart\" searching. A single -u won't respect .gitignore
|
||||||
(etc.) files. Two -u flags will additionally search hidden files and
|
(etc.) files (--no-ignore). Two -u flags will additionally search hidden files
|
||||||
directories. Three -u flags will additionally search binary files.
|
and directories (--hidden). Three -u flags will additionally search binary files
|
||||||
|
(--binary).
|
||||||
|
|
||||||
'rg -uuu' is roughly equivalent to 'grep -r'.
|
'rg -uuu' is roughly equivalent to 'grep -r'.
|
||||||
"
|
"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user