mirror of https://github.com/sharkdp/fd.git
Expand help for `-u`, add to manpage
This commit is contained in:
parent
33f385692d
commit
59c27baf0f
|
@ -38,6 +38,9 @@ or
|
|||
.I .fdignore
|
||||
files.
|
||||
.TP
|
||||
.B \-u, \-\-unrestricted
|
||||
Alias for '--no-ignore'. Can be repeated; '-uu' is an alias for '--no-ignore --hidden'.
|
||||
.TP
|
||||
.B \-\-no\-ignore\-vcs
|
||||
Show search results from files and directories that would otherwise be ignored by
|
||||
.I .gitignore
|
||||
|
|
|
@ -52,6 +52,7 @@ pub fn build_app() -> App<'static, 'static> {
|
|||
.arg(
|
||||
arg("rg-alias-hidden-ignore")
|
||||
.short("u")
|
||||
.long("unrestricted")
|
||||
.multiple(true)
|
||||
.hidden_short_help(true),
|
||||
)
|
||||
|
@ -361,8 +362,8 @@ fn usage() -> HashMap<&'static str, Help> {
|
|||
, "The directory where the filesystem search is rooted (optional). \
|
||||
If omitted, search the current working directory.");
|
||||
doc!(h, "rg-alias-hidden-ignore"
|
||||
, "Alias for no-ignore and/or hidden"
|
||||
, "Alias for no-ignore ('u') and no-ignore and hidden ('uu')");
|
||||
, ""
|
||||
, "Alias for '--no-ignore'. Can be repeated; '-uu' is an alias for '--no-ignore --hidden'.");
|
||||
doc!(h, "size"
|
||||
, "Limit results based on the size of files."
|
||||
, "Limit results based on the size of files using the format <+-><NUM><UNIT>.\n \
|
||||
|
|
Loading…
Reference in New Issue