Skip to content

docs: correct platform defaults in threads help - #404

Merged
Byron merged 1 commit into
Byron:mainfrom
Likio3000:docs/dua-cli-behavior-20260923
Sep 22, 2026
Merged

Byron merged 1 commit into
Byron:mainfrom
Likio3000:docs/dua-cli-behavior-20260923

Conversation

@Likio3000

Copy link
Copy Markdown
Contributor

The --threads help says its default is always 0 (logical processor count), while DEFAULT_THREADS is 8 on macOS and 0 elsewhere. Correct the help to distinguish these defaults and retain the meanings of explicit values 0 and 1.

Checked against the platform-specific constants and the clap default on the same field. This changes only a Rust documentation comment; no thread behavior changes. No build or project tests were run. Prepared and reviewed with AI assistance.

@Byron Byron left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, good catch!

@Byron
Byron merged commit cf59618 into Byron:main Sep 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants