mirror of
https://github.com/sharkdp/fd.git
synced 2026-08-30 17:07:43 +08:00
docs: Clarify option positions in README
This commit is contained in:
@@ -298,7 +298,7 @@ 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 [OPTIONS] [pattern] [path]...
|
||||
Usage: fd [OPTIONS] [pattern [path...]]
|
||||
|
||||
Arguments:
|
||||
[pattern] the search pattern (a regular expression, unless '--glob' is used; optional)
|
||||
@@ -335,6 +335,8 @@ Options:
|
||||
-V, --version Print version
|
||||
```
|
||||
|
||||
Not that options can be given after the pattern and/or path as well.
|
||||
|
||||
## Benchmark
|
||||
|
||||
Let's search my home folder for files that end in `[0-9].jpg`. It contains ~750.000
|
||||
|
||||
Reference in New Issue
Block a user