1
0
mirror of https://github.com/sharkdp/fd synced 2024-07-01 07:14:22 +00:00

Add opposing options to manpage

This commit is contained in:
Vukašin Stepanović 2021-08-23 15:27:52 +02:00
parent 37852aa388
commit 668af05dca
2 changed files with 9 additions and 6 deletions

7
doc/fd.1 vendored
View File

@ -28,7 +28,7 @@ is a simple, fast and user-friendly alternative to
.TP
.B \-H, \-\-hidden
Include hidden files and directories in the search results
(default: hidden files and directories are skipped).
(default: hidden files and directories are skipped). The flag can be overridden with '--no-hidden'.
.TP
.B \-I, \-\-no\-ignore
Show search results from files and directories that would otherwise be ignored by
@ -36,6 +36,7 @@ Show search results from files and directories that would otherwise be ignored b
.IR .ignore ,
.IR .fdignore ,
or the global ignore file.
The flag can be overridden with '--ignore'.
.TP
.B \-u, \-\-unrestricted
Alias for '--no-ignore'. Can be repeated; '-uu' is an alias for '--no-ignore --hidden'.
@ -44,6 +45,7 @@ Alias for '--no-ignore'. Can be repeated; '-uu' is an alias for '--no-ignore --h
Show search results from files and directories that would otherwise be ignored by
.I .gitignore
files.
The flag can be overridden with '--ignore-vcs'.
.TP
.B \-s, \-\-case\-sensitive
Perform a case-sensitive search. By default, fd uses case-insensitive searches, unless the
@ -65,6 +67,7 @@ performs substring comparison. If you want to match on an exact filename, consid
.TP
.B \-a, \-\-absolute\-path
Shows the full path starting from the root as opposed to relative paths.
The flag can be overridden with '--relative-path'.
.TP
.B \-l, \-\-list\-details
Use a detailed listing format like 'ls -l'. This is basically an alias
@ -74,7 +77,7 @@ sort order.
.TP
.B \-L, \-\-follow
By default, fd does not descend into symlinked directories. Using this flag, symbolic links are
also traversed.
also traversed. The flag can be overridden with '--no-follow'.
.TP
.B \-p, \-\-full\-path
By default, the search pattern is only matched against the filename (or directory name). Using

View File

@ -26,7 +26,7 @@ pub fn build_app() -> App<'static, 'static> {
"Include hidden directories and files in the search results (default: \
hidden files and directories are skipped). Files and directories are \
considered to be hidden if their name starts with a `.` sign (dot). \
Flag can be overridden with --no-hidden.",
The flag can be overridden with --no-hidden.",
),
)
.arg(
@ -47,7 +47,7 @@ pub fn build_app() -> App<'static, 'static> {
.long_help(
"Show search results from files and directories that would otherwise be \
ignored by '.gitignore', '.ignore', '.fdignore', or the global ignore file. \
Flag can be overridden with --ignore.",
The flag can be overridden with --ignore.",
),
)
.arg(
@ -66,7 +66,7 @@ pub fn build_app() -> App<'static, 'static> {
.hidden_short_help(true)
.long_help(
"Show search results from files and directories that would otherwise be \
ignored by '.gitignore' files. Flag can be overridden with --ignore-vcs.",
ignored by '.gitignore' files. The flag can be overridden with --ignore-vcs.",
),
)
.arg(
@ -159,7 +159,7 @@ pub fn build_app() -> App<'static, 'static> {
.help("Show absolute instead of relative paths")
.long_help(
"Shows the full path starting from the root as opposed to relative paths. \
Flag can be overridden with --relative-path.",
The flag can be overridden with --relative-path.",
),
)
.arg(