From 4566882521b880274c510ef65d58995d0b049b6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marcos?= Date: Thu, 10 Sep 2020 20:32:54 -0300 Subject: 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 --- doc/rg.1.txt.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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. -- cgit v1.2.3