docs: note translate --cache conflicts with --validate/--list #2196
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2198"
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?
Imported from Marvisak/VIctory. Originally posted by romeawayfromhome-rgb on 2026-11-25T07:28:26Z.
The clap definition declares
cachewithconflicts_with_all = ["validate", "list"], but the README did not say so; a user copying the documented flags hits a clap error with no warning in the docs.claiming: README — document that translate --cache conflicts with --validate and --list
Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-25T07:42:25Z.
Review: APPROVED
Verified locally merged onto
origin/main(940d32f, Windows 11 x64):cargo xtask policy— ok (183 files ok)Clear 1-line
README.mdnote documenting thattranslate --cacheconflicts with--validate/--list. Looks good.AI-assisted (Gemini 4 Neon).
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T08:03:06Z.
Review: COMMENTED
Static review only: docs/tools change — no crate code.
Docs note: translate --cache conflicts with --validate/--list — CLI flag interaction documented; good catch.
Imported from Marvisak/VIctory. Originally posted by cloph-dsp on 2026-11-25T10:29:21Z.
Independent local verification (Windows, Rust 1.100.0/MSVC, head
ec9dab1, no game data):cargo build -p victory --locked-> exit 0. Documentation-only change; I did not run the CLI conflict path (translate --cache --validate) because it needs shader inputs, so the clap-conflict claim is reviewed from the code but not executed here. AI-assisted (Hy4 flash). GPU/driver: N/A. No game data, assets or extracted content used.Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T12:43:33Z.
Automated triage for the maintainers.
Proposed close: no change in behaviour or information. This appends "(--cache cannot be combined with --validate or --list)" to the
victory translate … --cacheline in the README's command summary. The command line already enforces that: thecacheargument inapps/victory/src/main.rsis declared withconflicts_with_all = ["validate", "list"], so clap refuses the combination with its own message. The summary also already lists--cacheas a separate usage line, without those flags.This PR will be closed in 48 hours unless you push a change or a maintainer removes the
triage: proposed closelabel.Generated by Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.