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'. (default: hidden files and directories are skipped). The flag can be overridden with '--no-hidden'.
.IP .IP
Ignored files and .git/ are still excluded unless \-\-no\-ignore or \-\-no\-ignore\-vcs 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 is also used.
ignored files, and is more consistent with the output of most git commands.
.TP .TP
.B \-I, \-\-no\-ignore .B \-I, \-\-no\-ignore
Show search results from files and directories that would otherwise be ignored by 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 /// Show search results from files and directories that would otherwise be
/// ignored by '.gitignore', '.ignore', '.fdignore', the global ignore file, /// 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. /// The flag can be overridden with --ignore.
#[arg( #[arg(
long, long,
@ -63,9 +63,9 @@ pub struct Opts {
#[arg(long, overrides_with = "no_ignore", hide = true, action = ArgAction::SetTrue)] #[arg(long, overrides_with = "no_ignore", hide = true, action = ArgAction::SetTrue)]
ignore: (), ignore: (),
///Show search results from files and directories that would otherwise be ///Show search results from '.git/' folders and files and directories that
/// ignored by '.gitignore' files or the rule to exclude .git/. ///would otherwise be ignored by '.gitignore' files.
/// The flag can be overridden with --ignore-vcs. ///The flag can be overridden with --ignore-vcs.
#[arg( #[arg(
long, long,
hide_short_help = true, hide_short_help = true,