Update USAGE and man page
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by sharkdp · committed by sharkdp · parent 011e098 · Browse files · 3 files·+20 added−12 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+20 added−12 removed
- other:+20 added−12 removed
Provenance
- Commit
388b90e- Tree
4cb8cc7- Author
sharkdp <davidpeter@web.de>- Committer
sharkdp <davidpeter@web.de>- Parent
011e098
3 files changed+20 added−12 removed
modified:doc/fd.1+6 added
82 unmodified lines83 .IP "d, directories"84 directories85 .IP "l, symlink"86 symbolic links87+.IP "x, executable"88+executable (files)89 .RE90 91 .RS92 This option can be used repeatedly to allow for multiple file types.8 unmodified lines101 Exclude files/directories that match the given glob pattern.102 This overrides any other ignore logic.103 Multiple exclude patterns can be specified.104 .TP105+.BI "\-\-ignore-file " path106+Add a custom ignore-file in '.gitignore' format.107+These files have a low precedence.108+.TP109 .BI "\-c, \-\-color " when110 Declare111 .I when112 to colorize search results:45 unmodified linesmodified:src/app.rs+4 added-4 removed
162 unmodified lines163 , "Search hidden files and directories"164 , "Include hidden directories and files in the search results (default: hidden files \165 and directories are skipped).");166 doc!(h, "no-ignore"167- , "Do not respect .(git)ignore files"167+ , "Do not respect .(git|fd)ignore files"168 , "Show search results from files and directories that would otherwise be ignored by \169- '.*ignore' files.");169+ '.gitignore' or '.fdignore' files.");170 doc!(h, "no-ignore-vcs"171 , "Do not respect .gitignore files"172 , "Show search results from files and directories that would otherwise be ignored by \173 '.gitignore' files.");27 unmodified lines201 , "Set maximum search depth (default: none)"202 , "Limit the directory traversal to a given depth. By default, there is no limit \203 on the search depth.");204 doc!(h, "file-type"205- , "Filter by type: f(ile), d(irectory), (sym)l(ink)"205+ , "Filter by type: file (f), directory (d), symlink (l),\nexecutable (x)"206 , "Filter the search by type (multiple allowable filetypes can be specified):\n \207 'f' or 'file': regular files\n \208 'd' or 'directory': directories\n \209 'l' or 'symlink': symbolic links\n \19 unmodified lines229 , "Exclude files/directories that match the given glob pattern. This overrides any \230 other ignore logic. Multiple exclude patterns can be specified.");231 doc!(h, "ignore-file"232 , "Add a custom ignore-file in .gitignore format"233- , "Add a custom ignore-file in .gitignore format. These files have a low precedence.");233+ , "Add a custom ignore-file in '.gitignore' format. These files have a low precedence.");234 doc!(h, "color"235 , "When to use colors: never, *auto*, always"236 , "Declare when to use color for the pattern match output:\n \237 'auto': show colors if the output goes to an interactive console (default)\n \22 unmodified linesmodified:README.md+10 added-8 removed
226 unmodified lines227 fd [FLAGS/OPTIONS] [<pattern>] [<path>...]228 229 FLAGS:230 -H, --hidden Search hidden files and directories231- -I, --no-ignore Do not respect .(git)ignore files231+ -I, --no-ignore Do not respect .(git|fd)ignore files232 --no-ignore-vcs Do not respect .gitignore files233 -s, --case-sensitive Case-sensitive search (default: smart case)234 -i, --ignore-case Case-insensitive search (default: smart case)235 -F, --fixed-strings Treat the pattern as a literal string4 unmodified lines240 -h, --help Prints help information241 -V, --version Prints version information242 243 OPTIONS:244- -d, --max-depth <depth> Set maximum search depth (default: none)245- -t, --type <filetype>... Filter by type: f(ile), d(irectory), (sym)l(ink)246- -e, --extension <ext>... Filter by file extension247- -x, --exec <cmd> Execute a command for each search result248- -E, --exclude <pattern>... Exclude entries that match the given glob pattern249- -c, --color <when> When to use colors: never, *auto*, always250- -j, --threads <num> Set number of threads to use for searching & executing244+ -d, --max-depth <depth> Set maximum search depth (default: none)245+ -t, --type <filetype>... Filter by type: file (f), directory (d), symlink (l),246+ executable (x)247+ -e, --extension <ext>... Filter by file extension248+ -x, --exec <cmd> Execute a command for each search result249+ -E, --exclude <pattern>... Exclude entries that match the given glob pattern250+ --ignore-file <path>... Add a custom ignore-file in .gitignore format251+ -c, --color <when> When to use colors: never, *auto*, always252+ -j, --threads <num> Set number of threads to use for searching & executing253 254 ARGS:255 <pattern> the search pattern, a regular expression (optional)256 <path>... the root directory for the filesystem search (optional)152 unmodified lines