docs: Clarify option positions in README

This commit is contained in:
Thayne McCombs
2025-04-30 01:26:43 -06:00
parent 26795f6a55
commit 402d4e7c12
+3 -1
View File
@@ -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