summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoão Marcos <marcospb19@hotmail.com>2020-09-10 20:32:54 -0300
committerAndrew Gallant <jamslam@gmail.com>2021-05-31 21:51:18 -0400
commit4566882521b880274c510ef65d58995d0b049b6a (patch)
treeb3bc4fab2b13ea1b8d152713a417e07555db7a47 /doc
parent12dd455ee9aa731acfeb0d2dfed568a0103cae73 (diff)
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
Diffstat (limited to 'doc')
-rw-r--r--doc/rg.1.txt.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/rg.1.txt.tpl b/doc/rg.1.txt.tpl
index 27f57dd8..ee37744f 100644
--- a/doc/rg.1.txt.tpl
+++ b/doc/rg.1.txt.tpl
@@ -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.