diff --git a/doc/fd.1 b/doc/fd.1 index 5f76b46..dfb70de 100644 --- a/doc/fd.1 +++ b/doc/fd.1 @@ -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 diff --git a/src/cli.rs b/src/cli.rs index 4b1ef5e..c2217b7 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -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,