Skip to content

Commit

Permalink
Update help text and man page
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed May 15, 2022
1 parent f823eac commit f57206a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/fd.1
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The global fd ignore file (usually
The flag can be overridden with '--ignore'.
.TP
.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
.B \-\-no\-ignore\-vcs
Show search results from files and directories that would otherwise be ignored by gitignore files
Expand Down
6 changes: 3 additions & 3 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ pub fn build_app() -> Command<'static> {
.overrides_with_all(&["ignore", "no-hidden"])
.multiple_occurrences(true) // Allowed for historical reasons
.hide_short_help(true)
.help("Alias for '--no-ignore', and '--hidden'")
.help("Unrestricted search, alias for '--no-ignore --hidden'")
.long_help(
"Perform a search with no filters applied. Unfilters ignored \
files and hidden files.",
"Perform an unrestricted search, including ignored and hidden files. This is \
an alias for '--no-ignore --hidden'."
),
)
.arg(
Expand Down

0 comments on commit f57206a

Please sign in to comment.