translate: --jobs 0 is an argument error #334
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!334
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/334/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@JordanFableFur on GitHub · 2026-11-24 23:34 UTC · original
JordanFableFur:fix/translate-jobs-zero→main· +8 −2 · 1 files · 1 commits · closed without mergingWhat
--jobsparsed intousizeand the per-file worker count came from it directly, sovictory translate --jobs 0 <file>spawned zero workers and reported zero containers instead of refusing the input.The option is now
Option<NonZeroUsize>: clap exits with an argument error for zero, and the default (every logical core) is unchanged.translate::runstill takesOption<usize>(NonZeroUsize::getat the call), so nothing else moves.Fixes #249.
Testing
cargo check --all-targetsand clippy-D warningscross-checked for the Windows target (clean). The rejection happens in clap beforerunis reached, which is where the issue asks it to happen.AI use: written with Codex and Claude Code (GPT-5.2 Codex); reviewed and posted with my approval. No game files were used.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-24 23:35 UTC · original · edited 2026-11-24 23:37 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
924283eℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
@kaayzouee on GitHub · 2026-11-25 01:11 UTC · original
Duplicate of #290?
@JordanFableFur on GitHub · 2026-11-25 01:46 UTC · original
Closing — #290 fixes the same issue (#249) and was opened first. Thanks for flagging.
Pull request closed