Skip to content
Myr

Shorten man page with some fixes

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

Maybe in the future we need to redirect `--help` to the man pages? Is there a way for cargo to install the man pages?

authored by Ivan Tham · committed by David Peter · parent b6c95a4 · Browse files · 1 file+36 added−16 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+36 added−16 removed

  • other:+36 added−16 removed

1 file+36 added−16 removed

modified:doc/fd.1+36 added-16 removed
1 unmodified line
2.SH NAME3fd \- find files4.BR find (1)5.SH SYNOPSIS6.B spt6.B fd7.RB [ \-HIsaLp0hV ]8.RB [ \- d9.IR depth ]10.RB [ \-t
3 unmodified lines
14.RB [ \-c15.IR when ]16.RB [ \-j17.IR num ]18.RB [ \-x19.IR exec ]20.RI [ pattern ]21.RI [ path ]22.SH DESCRIPTION23.B fd
3 unmodified lines
27.TP28.B \-H, \-\-hidden29Search hidden files and directories.30.TP29.B \-I, \-\-no\-gitignore31.B \-I, \-\-no\-ignore32Do not respect any33.BR gitignore (5)34files.35.TP34.B \-s, \-\-case\-insensitive36.B \-s, \-\-case\-sensitive37Perform a case-sensitive search (default: smart case).38.TP39.B \-a, \-\-absolute\-path40Show absolute instead of relative paths.
3 unmodified lines
44.TP45.B \-p, \-\-full\-path46Match47.I pattern46against full path.48against full49.IR path .50.TP51.B \-0, \-\-print049Print results followed by a null character (instead of newlines).52Print results followed by null character instead of newlines.53.TP54.B \-h, \-\-help55Prints help information.56.TP54.B \-v, \-\-version57.B \-V, \-\-version58Prints version information.59.TP60.BI "\-d, \-\-max\-depth " levels61Limit directory traversal to at most
17 unmodified lines
79.TP80.BI "\-c, \-\-color " when81Declare82.I when80to use color for the pattern match output:83to colorize search results:84.RS85.IP auto83Show colors only when standard output is connected to a terminal. (default)86Colorize output when standard output is connected to terminal. (default)87.IP never85Do not use colorized output.88Do not colorize output.89.IP always87Always use colorized output.90Always colorize output.91.RE92.TP93.BI "\-j, \-\-threads " num91Specifies number of threads to use for searching. (default: number of available92CPU cores)94Number of threads to use for searching. (default: number of processing units95available)96.TP97.BI "\-x, \-\-exec " command98Execute99.I command100on each of the discovered path with the following tokens substituted:101.RS102.IP {}103path104.IP {.}105path without extension106.IP {/}107basename of path108.IP {//}109parent of path110.IP {/.}111basename of path without extension112.RE113.SH ENVIRONMENT114.TP95LS_COLORS96.BR "fd"'s97color codes for search results.115.B LS_COLORS116Determines how to colorize search results, see117.BR dircolors (1) .118.SH EXAMPLES119.TP120.RI "Find the specific log files in " /var/log .101$ fd nginx.log /var/log121$ fd nginx /var/log122.TP123Find all Python files that ends with \(dq.py\(dq in the current directory.124$ fd -e py125.SH SEE ALSO
1 unmodified line