doc: add '-.' as short flag for '--hidden'

PR #2279
This commit is contained in:
David Marzal 2022-08-10 14:03:04 +02:00 committed by GitHub
parent 3bb71b0cb8
commit a9d97a1dda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,8 @@ the following:
All of these things can be toggled using various flags provided by ripgrep: All of these things can be toggled using various flags provided by ripgrep:
1. You can disable all ignore-related filtering with the `--no-ignore` flag. 1. You can disable all ignore-related filtering with the `--no-ignore` flag.
2. Hidden files and directories can be searched with the `--hidden` flag. 2. Hidden files and directories can be searched with the `--hidden` (`-.` for
short) flag.
3. Binary files can be searched via the `--text` (`-a` for short) flag. 3. Binary files can be searched via the `--text` (`-a` for short) flag.
Be careful with this flag! Binary files may emit control characters to your Be careful with this flag! Binary files may emit control characters to your
terminal, which might cause strange behavior. terminal, which might cause strange behavior.