Skip to content
Myr

Update manpage to match --help output

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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`.

authored by Ryan Lue · committed by David Peter · parent dade973 · Browse files · 1 file+13 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+13 added−1 removed

  • other:+13 added−1 removed

1 file+13 added−1 removed

modified:doc/fd.1+13 added-1 removed
64 unmodified lines
65git setting, which defaults to66.IR $HOME/.config/git/ignore ).67The flag can be overridden with '--ignore-vcs'.68.TP69.B \-\-no\-ignore\-parent70Show search results from files and directories that would otherwise be ignored by gitignore files in71parent directories.72.TP73.B \-s, \-\-case\-sensitive74Perform a case-sensitive search. By default, fd uses case-insensitive searches, unless the75pattern contains an uppercase character (smart case).76.TP
52 unmodified lines
129.B \-\-show-errors130Enable the display of filesystem errors for situations such as insufficient131permissions or dead symlinks.132.TP133.B \-\-strip-cwd-prefix134By default, relative paths are prefixed with './' when the output goes to a non interactive terminal135(TTY). Use this flag to disable this behaviour.136.TP137.B \-\-one\-file\-system, \-\-mount, \-\-xdev138By 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).139.TP140.B \-h, \-\-help
259 unmodified lines
400 - Find all *.rs files and count the lines with "wc -l ...":401402 fd -e rs -X wc -l403.RE396404.TP405.BI "\-\-batch-size " size406Maximum number of arguments to pass to the command given with -X. If the number of results is407greater than the given size, the command given with -X is run again with remaining arguments. A408batch size of zero means there is no limit.409.SH PATTERN SYNTAX410The regular expression syntax used by fd is documented here:411412 https://docs.rs/regex/1.0.0/regex/#syntax
41 unmodified lines