Update documentation
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by sharkdp · committed by sharkdp · parent 32a34cf · Browse files · 3 files·+27 added−17 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+27 added−17 removed
- other:+27 added−17 removed
Provenance
- Commit
941caeb- Tree
4175326- Author
sharkdp <davidpeter@web.de>- Committer
sharkdp <davidpeter@web.de>- Parent
32a34cf
3 files changed+27 added−17 removed
modified:doc/fd.1+22 added-11 removed
25 unmodified lines26 .BR find (1).27 .SH OPTIONS28 .TP29 .B \-H, \-\-hidden30-Search hidden files and directories.30+Include hidden files and directories in the search results.31 .TP32 .B \-I, \-\-no\-ignore33-Don't respect ignore files (.gitignore, .ignore, etc.)33+Do not respect files like34+.I .gitignore35+and36+.I .ignore37+and include ignored files in the search results.38 .TP39 .B \-\-no\-ignore\-vcs36-Don't respect version control ignore files (like .gitignore).40+Do not respect version control ignore files like41+.I ".gitignore"42+and include the respective entries in the search results.43 .TP44 .B \-s, \-\-case\-sensitive45 Perform a case-sensitive search (default: smart case).46 .TP6 unmodified lines53 .B \-L, \-\-follow54 Dereference all symbolic links encountered.55 .TP56 .B \-p, \-\-full\-path51-Match57+Match the58 .I pattern53-against the full path59+against the full path instead of just the file or directory name.60 .TP61 .B \-0, \-\-print056-Print results followed by null character instead of newlines.62+Separate search results by null characters instead of newlines.63 .TP64 .B \-h, \-\-help59-Prints help information.65+Print help information.66 .TP67 .B \-V, \-\-version62-Prints version information.68+Print version information.69 .TP64-.BI "\-d, \-\-max\-depth " levels70+.BI "\-d, \-\-max\-depth " d71 Limit directory traversal to at most66-.I levels67-of depth.72+.I d73+levels of depth. By default, there is no limit on the search depth.74 .TP75 .BI "\-t, \-\-type " filetype76 Filter search by type:77 .RS3 unmodified lines81 directories82 .IP "s, symlink"83 symbolic links84 .RE85+86+.RS87+This option can be used repeatedly to allow for multiple file types.88+.RE89 .TP90 .BI "\-e, \-\-extension " ext91 Filter search results by file extension92 .IR ext .93+This option can be used repeatedly to allow for multiple possible file extensions.94 .TP95 .BI "\-E, \-\-exclude " pattern96 Exclude files/directories that match the given glob pattern.97 This overrides any other ignore logic.51 unmodified linesmodified:src/app.rs+1 added-1 removed
194 unmodified lines195 '{//}': parent directory\n \196 '{.}': path without file extension\n \197 '{/.}': basename without file extension");198 doc!(h, "exclude"199- , "Exclude entries that match the given glob pattern."199+ , "Exclude entries that match the given glob pattern"200 , "Exclude files/directories that match the given glob pattern. This overrides any \201 other ignore logic. Multiple exclude patterns can be specified.");202 doc!(h, "color"203 , "When to use colors: never, *auto*, always"24 unmodified linesmodified:README.md+4 added-5 removed
217 unmodified lines218 -V, --version Prints version information219 220 OPTIONS:221 -d, --max-depth <depth> Set maximum search depth (default: none)222- -t, --type <filetype> Filter by type: f(ile), d(irectory), (sym)l(ink)223- -e, --extension <ext> Filter by file extension222+ -t, --type <filetype>... Filter by type: f(ile), d(irectory), (sym)l(ink)223+ -e, --extension <ext>... Filter by file extension224 -x, --exec <cmd>... Execute a command for each search result225- -E, --exclude <pattern>... Exclude entries that match the given glob pattern.225+ -E, --exclude <pattern>... Exclude entries that match the given glob pattern226 -c, --color <when> When to use colors: never, *auto*, always227- -j, --threads <num> Set number of threads to use for searching &228- executing227+ -j, --threads <num> Set number of threads to use for searching & executing228 229 ARGS:230 <pattern> the search pattern, a regular expression (optional)231 <path>... the root directory for the filesystem search (optional)124 unmodified lines