mirror of
https://github.com/sharkdp/fd.git
synced 2026-10-12 02:22:28 +00:00
docs: Some tweaks from review
This commit is contained in:
committed by
David Peter
parent
8897659607
commit
08910e4e3f
@@ -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
|
||||
|
||||
+4
-4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user