Update Usage in Readme
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Peter · committed by David Peter · parent 12165c7 · Browse files · 1 file·+29 added−31 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+29 added−31 removed
- other:+29 added−31 removed
Provenance
- Commit
bab7727- Tree
83eed39- Author
David Peter <mail@david-peter.de>- Committer
David Peter <mail@david-peter.de>- Parent
12165c7
1 file changed+29 added−31 removed
modified:README.md+29 added-31 removed
293 unmodified lines294 This is the output of `fd -h`. To see the full set of command-line options, use `fd --help` which295 also includes a much more detailed help text.296 297 ```298-USAGE:299- fd [FLAGS/OPTIONS] [<pattern>] [<path>...]298+Usage: fd [OPTIONS] [pattern] [path]...299 301-FLAGS:302- -H, --hidden Search hidden files and directories303- -I, --no-ignore Do not respect .(git|fd)ignore files304- -s, --case-sensitive Case-sensitive search (default: smart case)305- -i, --ignore-case Case-insensitive search (default: smart case)306- -g, --glob Glob-based search (default: regular expression)307- -a, --absolute-path Show absolute instead of relative paths308- -l, --list-details Use a long listing format with file metadata309- -L, --follow Follow symbolic links310- -p, --full-path Search full abs. path (default: filename only)311- -h, --help Prints help information312- -V, --version Prints version information300+Arguments:301+ [pattern] the search pattern (a regular expression, unless '--glob' is used; optional)302+ [path]... the root directories for the filesystem search (optional)303 314-OPTIONS:315- -d, --max-depth <depth> Set maximum search depth (default: none)316- -t, --type <filetype>... Filter by type: file (f), directory (d), symlink (l),317- executable (x), empty (e), socket (s), pipe (p)318- -e, --extension <ext>... Filter by file extension319- -x, --exec <cmd> Execute a command for each search result320- -X, --exec-batch <cmd> Execute a command with all search results at once321- -E, --exclude <pattern>... Exclude entries that match the given glob pattern322- -c, --color <when> When to use colors: never, *auto*, always323- -S, --size <size>... Limit results based on the size of files324- --changed-within <date|dur> Filter by file modification time (newer than)325- --changed-before <date|dur> Filter by file modification time (older than)326- -o, --owner <user:group> Filter by owning user and/or group327-328-ARGS:329- <pattern> the search pattern (a regular expression, unless '--glob' is used; optional)330- <path>... the root directory for the filesystem search (optional)304+Options:305+ -H, --hidden Search hidden files and directories306+ -I, --no-ignore Do not respect .(git|fd)ignore files307+ -s, --case-sensitive Case-sensitive search (default: smart case)308+ -i, --ignore-case Case-insensitive search (default: smart case)309+ -g, --glob Glob-based search (default: regular expression)310+ -a, --absolute-path Show absolute instead of relative paths311+ -l, --list-details Use a long listing format with file metadata312+ -L, --follow Follow symbolic links313+ -p, --full-path Search full abs. path (default: filename only)314+ -d, --max-depth <depth> Set maximum search depth (default: none)315+ -E, --exclude <pattern> Exclude entries that match the given glob pattern316+ -t, --type <filetype> Filter by type: file (f), directory (d), symlink (l),317+ executable (x), empty (e), socket (s), pipe (p)318+ -e, --extension <ext> Filter by file extension319+ -S, --size <size> Limit results based on the size of files320+ --changed-within <date|dur> Filter by file modification time (newer than)321+ --changed-before <date|dur> Filter by file modification time (older than)322+ -o, --owner <user:group> Filter by owning user and/or group323+ -x, --exec <cmd>... Execute a command for each search result324+ -X, --exec-batch <cmd>... Execute a command with all search results at once325+ -c, --color <when> When to use colors [default: auto] [possible values: auto,326+ always, never]327+ -h, --help Print help information (use `--help` for more detail)328+ -V, --version Print version information329 ```330 331 ## Benchmark332 380 unmodified lines