docs: Some tweaks from review

This commit is contained in:
Thayne McCombs 2023-10-22 22:58:24 -06:00 committed by David Peter
parent 8897659607
commit 08910e4e3f
2 changed files with 5 additions and 6 deletions

3
doc/fd.1 vendored
View File

@ -43,8 +43,7 @@ Include hidden files and directories in the search results
(default: hidden files and directories are skipped). The flag can be overridden with '--no-hidden'.
.IP
Ignored files and .git/ are still excluded unless \-\-no\-ignore or \-\-no\-ignore\-vcs
is also used. The .git directory is excluded, because that is usually what is wanted if excluding vcs
ignored files, and is more consistent with the output of most git commands.
is also used.
.TP
.B \-I, \-\-no\-ignore
Show search results from files and directories that would otherwise be ignored by

View File

@ -49,7 +49,7 @@ pub struct Opts {
/// Show search results from files and directories that would otherwise be
/// ignored by '.gitignore', '.ignore', '.fdignore', the global ignore file,
/// or the rule to exclude .git/.
/// or the default rule tthat excludes .git/.
/// The flag can be overridden with --ignore.
#[arg(
long,
@ -63,9 +63,9 @@ pub struct Opts {
#[arg(long, overrides_with = "no_ignore", hide = true, action = ArgAction::SetTrue)]
ignore: (),
///Show search results from files and directories that would otherwise be
/// ignored by '.gitignore' files or the rule to exclude .git/.
/// The flag can be overridden with --ignore-vcs.
///Show search results from '.git/' folders and files and directories that
///would otherwise be ignored by '.gitignore' files.
///The flag can be overridden with --ignore-vcs.
#[arg(
long,
hide_short_help = true,