Update help text and man page

This commit is contained in:
David Peter 2022-05-15 16:15:46 +02:00 committed by David Peter
parent f823eac672
commit f57206a3a1
2 changed files with 4 additions and 4 deletions

2
doc/fd.1 vendored
View File

@ -58,7 +58,7 @@ The global fd ignore file (usually
The flag can be overridden with '--ignore'. The flag can be overridden with '--ignore'.
.TP .TP
.B \-u, \-\-unrestricted .B \-u, \-\-unrestricted
Alias for '--no-ignore'. Can be repeated; '-uu' is an alias for '--no-ignore --hidden'. Perform an unrestricted search, including ignored and hidden files. This is an alias for '--hidden --no-ignore'.
.TP .TP
.B \-\-no\-ignore\-vcs .B \-\-no\-ignore\-vcs
Show search results from files and directories that would otherwise be ignored by gitignore files Show search results from files and directories that would otherwise be ignored by gitignore files

View File

@ -104,10 +104,10 @@ pub fn build_app() -> Command<'static> {
.overrides_with_all(&["ignore", "no-hidden"]) .overrides_with_all(&["ignore", "no-hidden"])
.multiple_occurrences(true) // Allowed for historical reasons .multiple_occurrences(true) // Allowed for historical reasons
.hide_short_help(true) .hide_short_help(true)
.help("Alias for '--no-ignore', and '--hidden'") .help("Unrestricted search, alias for '--no-ignore --hidden'")
.long_help( .long_help(
"Perform a search with no filters applied. Unfilters ignored \ "Perform an unrestricted search, including ignored and hidden files. This is \
files and hidden files.", an alias for '--no-ignore --hidden'."
), ),
) )
.arg( .arg(