summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Lue <hello@ryanlue.com>2021-12-23 13:28:34 -0800
committerDavid Peter <sharkdp@users.noreply.github.com>2021-12-28 14:21:10 +0100
commit30add71233a9e9088d9ce2915e516b77e5b00372 (patch)
tree12caede12b9c2dc74e16a12f2ecbd61920bb7644
parentdade9736acd08c062bb81434fa1f5fa065179b5e (diff)
Update manpage to match --help output
Three command line options were added in late 2021 that never made their way into the manpage: * f8ae334 introduced --no-ignore-parent; * bf9e6fd introduced --strip-prefix (later renamed strip-cwd-prefix); and * 17dd2a6 introduced --batch-size. This commit updates the manpage content to reflect the auto-generated output of `fd --help`.
-rw-r--r--doc/fd.114
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/fd.1 b/doc/fd.1
index 51deaff..b5809c7 100644
--- a/doc/fd.1
+++ b/doc/fd.1
@@ -66,6 +66,10 @@ git setting, which defaults to
.IR $HOME/.config/git/ignore ).
The flag can be overridden with '--ignore-vcs'.
.TP
+.B \-\-no\-ignore\-parent
+Show search results from files and directories that would otherwise be ignored by gitignore files in
+parent directories.
+.TP
.B \-s, \-\-case\-sensitive
Perform a case-sensitive search. By default, fd uses case-insensitive searches, unless the
pattern contains an uppercase character (smart case).
@@ -126,6 +130,10 @@ can be used as an alias.
Enable the display of filesystem errors for situations such as insufficient
permissions or dead symlinks.
.TP
+.B \-\-strip-cwd-prefix
+By default, relative paths are prefixed with './' when the output goes to a non interactive terminal
+(TTY). Use this flag to disable this behaviour.
+.TP
.B \-\-one\-file\-system, \-\-mount, \-\-xdev
By default, fd will traverse the file system tree as far as other options dictate. With this flag, fd ensures that it does not descend into a different file system than the one it started in. Comparable to the -mount or -xdev filters of find(1).
.TP
@@ -393,7 +401,11 @@ Examples:
fd -e rs -X wc -l
.RE
-
+.TP
+.BI "\-\-batch-size " size
+Maximum number of arguments to pass to the command given with -X. If the number of results is
+greater than the given size, the command given with -X is run again with remaining arguments. A
+batch size of zero means there is no limit.
.SH PATTERN SYNTAX
The regular expression syntax used by fd is documented here: