summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Peter <mail@david-peter.de>2022-11-01 21:18:11 +0100
committerDavid Peter <mail@david-peter.de>2022-11-01 21:18:11 +0100
commitbab77275ece71df6ece197e5c96df451d49f9e33 (patch)
tree83eed39aa20494a1bdb6616d29b8c31f3a0a068e
parent12165c73f876b0ae21d533d4901d9c1abb725f2e (diff)
Update Usage in Readmev8.5.0
-rw-r--r--README.md64
1 files changed, 31 insertions, 33 deletions
diff --git a/README.md b/README.md
index 793f881..d73f10b 100644
--- a/README.md
+++ b/README.md
@@ -295,39 +295,37 @@ This is the output of `fd -h`. To see the full set of command-line options, use
also includes a much more detailed help text.
```
-USAGE:
- fd [FLAGS/OPTIONS] [<pattern>] [<path>...]
-
-FLAGS:
- -H, --hidden Search hidden files and directories
- -I, --no-ignore Do not respect .(git|fd)ignore files
- -s, --case-sensitive Case-sensitive search (default: smart case)
- -i, --ignore-case Case-insensitive search (default: smart case)
- -g, --glob Glob-based search (default: regular expression)
- -a, --absolute-path Show absolute instead of relative paths
- -l, --list-details Use a long listing format with file metadata
- -L, --follow Follow symbolic links
- -p, --full-path Search full abs. path (default: filename only)
- -h, --help Prints help information
- -V, --version Prints version information
-
-OPTIONS:
- -d, --max-depth <depth> Set maximum search depth (default: none)
- -t, --type <filetype>... Filter by type: file (f), directory (d), symlink (l),
- executable (x), empty (e), socket (s), pipe (p)
- -e, --extension <ext>... Filter by file extension
- -x, --exec <cmd> Execute a command for each search result
- -X, --exec-batch <cmd> Execute a command with all search results at once
- -E, --exclude <pattern>... Exclude entries that match the given glob pattern
- -c, --color <when> When to use colors: never, *auto*, always
- -S, --size <size>... Limit results based on the size of files
- --changed-within <date|dur> Filter by file modification time (newer than)
- --changed-before <date|dur> Filter by file modification time (older than)
- -o, --owner <user:group> Filter by owning user and/or group
-
-ARGS:
- <pattern> the search pattern (a regular expression, unless '--glob' is used; optional)
- <path>... the root directory for the filesystem search (optional)
+Usage: fd [OPTIONS] [pattern] [path]...
+
+Arguments:
+ [pattern] the search pattern (a regular expression, unless '--glob' is used; optional)
+ [path]... the root directories for the filesystem search (optional)
+
+Options:
+ -H, --hidden Search hidden files and directories
+ -I, --no-ignore Do not respect .(git|fd)ignore files
+ -s, --case-sensitive Case-sensitive search (default: smart case)
+ -i, --ignore-case Case-insensitive search (default: smart case)
+ -g, --glob Glob-based search (default: regular expression)
+ -a, --absolute-path Show absolute instead of relative paths
+ -l, --list-details Use a long listing format with file metadata
+ -L, --follow Follow symbolic links
+ -p, --full-path Search full abs. path (default: filename only)
+ -d, --max-depth <depth> Set maximum search depth (default: none)
+ -E, --exclude <pattern> Exclude entries that match the given glob pattern
+ -t, --type <filetype> Filter by type: file (f), directory (d), symlink (l),
+ executable (x), empty (e), socket (s), pipe (p)
+ -e, --extension <ext> Filter by file extension
+ -S, --size <size> Limit results based on the size of files
+ --changed-within <date|dur> Filter by file modification time (newer than)
+ --changed-before <date|dur> Filter by file modification time (older than)
+ -o, --owner <user:group> Filter by owning user and/or group
+ -x, --exec <cmd>... Execute a command for each search result
+ -X, --exec-batch <cmd>... Execute a command with all search results at once
+ -c, --color <when> When to use colors [default: auto] [possible values: auto,
+ always, never]
+ -h, --help Print help information (use `--help` for more detail)
+ -V, --version Print version information
```
## Benchmark