cli: add -. as short option for --hidden
This is somewhat non-standard, but it seems nice on the surface: short flag names are in short supply, --hidden is probably somewhat common and -. has an obvious connection with how hidden files are named on Unix. Closes #1680
This commit is contained in:
committed by
Andrew Gallant
parent
12dd455ee9
commit
4566882521
@@ -166,7 +166,7 @@ Each of the types of filtering can be configured via command line flags:
|
||||
* There are several flags starting with '--no-ignore' that toggle which,
|
||||
if any, ignore rules are respected. '--no-ignore' by itself will disable
|
||||
all of them.
|
||||
* '--hidden' will force ripgrep to search hidden files and directories.
|
||||
* '-./--hidden' will force ripgrep to search hidden files and directories.
|
||||
* '--binary' will force ripgrep to search binary files.
|
||||
* '-L/--follow' will force ripgrep to follow symlinks.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user