mirror of https://github.com/sharkdp/fd.git
liberally accept >2 -u options as per ripgrep
This commit is contained in:
parent
4f2d9e77b3
commit
35e5ecd492
|
@ -86,7 +86,7 @@ fn main() {
|
|||
let config = FdOptions {
|
||||
case_sensitive: case_sensitive,
|
||||
search_full_path: matches.is_present("full-path"),
|
||||
ignore_hidden: !(matches.is_present("hidden") || matches.occurrences_of("rg-alias-hidden-ignore") == 2),
|
||||
ignore_hidden: !(matches.is_present("hidden") || matches.occurrences_of("rg-alias-hidden-ignore") >= 2),
|
||||
read_ignore: !(matches.is_present("no-ignore") || matches.is_present("rg-alias-hidden-ignore")),
|
||||
follow_links: matches.is_present("follow"),
|
||||
null_separator: matches.is_present("null_separator"),
|
||||
|
|
Loading…
Reference in New Issue