fd
fd copied to clipboard
--threads help text omits the 64-thread default cap
The -j/--threads help text in src/cli.rs says the default is the number of available CPU cores, but default_num_threads() actually returns min(available_parallelism(), 64) — it is capped at 64 to limit startup overhead on very large machines (see the comment above let limit in src/cli.rs).
So on a machine with more than 64 logical cores the real default is 64, not the full core count. This is just a small accuracy gap in the help text. I have a one-line doc fix ready and will open a PR referencing this issue.