From 08910e4e3f6e4820b546e2933616df0ef017d2d8 Mon Sep 17 00:00:00 2001 From: Thayne McCombs Date: Sun, 22 Oct 2023 22:58:24 -0600 Subject: [PATCH] docs: Some tweaks from review --- doc/fd.1 | 3 +-- src/cli.rs | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) 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,