[codex/replay-doc-check] Check the replay guide against its CLI options #635
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/Belobug--VIctory-Belobug-AMD!635
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-635"
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?
@Cxyder on GitHub · 2026-11-27 15:26 UTC · original
Cxyder:codex/replay-doc-check→a-publier· +144 −0 · 6 files · 1 commits · openThe replay guide can mention a switch the CLI rejects and omit one that exists. This adds the two-way check requested in #513:
cargo xtask replay-docslists documented names with no corresponding option and declared long options missing from the reference. It exits nonzero on drift. It runs in the maintenance tool and needs no capture, game files, or GPU.The command reads the
Replaystruct's Clap attributes (including explicit long names) and the replay reference, excluding the Cargo build and test instructions. It is opt-in; this PR does not gate CI on the unfinished guide or duplicate the option descriptions in the documentation PRs.Checked against the current base and three proposed guides:
a-publier@4eb6cfd--looksand missing--flow-slots,--image,--least,--roots,--top,--widthe6b3ec10237cdb--image22fb834All three guides merge cleanly with this change. On Windows with Rust 1.98.1, all 10 xtask tests passed, as did xtask Clippy with warnings denied, formatting, and the staged asset policy. No game or replay was started.
AI-assisted contribution.
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.