docs/replay.md: drop --looks, document --top, --roots, --flow-slots, --least and --width #528

Open
github-bot wants to merge 1 commit from github-bot/gh-528 into a-publier AGit
Owner

@⁠rustnoob-dev on GitHub · 2026-11-27 09:39 UTC · original
rustnoob-dev:replay-docs-flags → a-publier · +6 −1 · 1 files · 1 commits · open

Fixes #513.

What

  • The --pixel section said commands are numbered "as in --listing, --slots and --looks". victory replay has no --looks, so the sentence now names --listing and --slots only.
  • Five switches the Replay struct declares were not in the tables. Each now has a row next to the switch it works with, with its default from apps/victory/src/replay.rs:
    • --top <n> (20), with --timing detailed
    • --roots <n> (4), with --diverge
    • --flow-slots <n> (40), with --flow
    • --least <texels> (4096), with --images
    • --width <pixels> (960), with --images

Not in this PR

The issue also suggests an xtask check that keeps the doc and the Replay fields in step. That is a separate change and can follow if wanted.

Testing

Docs only. Each row's wording and default was checked against the #[arg] attribute and doc comment of its field.

**@⁠rustnoob-dev** on GitHub · 2026-11-27 09:39 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/528) `rustnoob-dev:replay-docs-flags` → `a-publier` · +6 −1 · 1 files · 1 commits · open Fixes #513. ## What - The `--pixel` section said commands are numbered "as in `--listing`, `--slots` and `--looks`". `victory replay` has no `--looks`, so the sentence now names `--listing` and `--slots` only. - Five switches the `Replay` struct declares were not in the tables. Each now has a row next to the switch it works with, with its default from `apps/victory/src/replay.rs`: - `--top <n>` (20), with `--timing detailed` - `--roots <n>` (4), with `--diverge` - `--flow-slots <n>` (40), with `--flow` - `--least <texels>` (4096), with `--images` - `--width <pixels>` (960), with `--images` ## Not in this PR The issue also suggests an `xtask` check that keeps the doc and the `Replay` fields in step. That is a separate change and can follow if wanted. ## Testing Docs only. Each row's wording and default was checked against the `#[arg]` attribute and doc comment of its field.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 10:41:01 +00:00
Author
Owner

@⁠AccelArch on GitHub · 2026-11-27 11:56 UTC · original

Read 0237cdb against a-publier (4eb6cfd), checked against the Replay struct in apps/victory/src/replay.rs: there is no --looks field, and the defaults in the new rows match the code (--top 20, --roots 4, --flow-slots 40, --least 4096, --width 960). One more switch is missing from the tables and not covered here: --image (Option, "default: replay.png in the capture"); docs/replay.md lists --images only, so six switches are missing, not five. #521 adds --image and edits the same rows, so one of the two will need a rebase.

AI-assisted.

**@⁠AccelArch** on GitHub · 2026-11-27 11:56 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/528#issuecomment-7217644819) Read 0237cdb against a-publier (4eb6cfd), checked against the Replay struct in apps/victory/src/replay.rs: there is no --looks field, and the defaults in the new rows match the code (--top 20, --roots 4, --flow-slots 40, --least 4096, --width 960). One more switch is missing from the tables and not covered here: --image (Option<PathBuf>, "default: replay.png in the capture"); docs/replay.md lists --images only, so six switches are missing, not five. #521 adds --image and edits the same rows, so one of the two will need a rebase. AI-assisted.
Author
Owner

@⁠gut0to on GitHub · 2026-11-27 13:15 UTC · original · reviewed

AI-assisted review: This appears to overlap the still-open #521, which already removes the same nonexistent --looks reference and documents --top, --roots, --flow-slots, --least and --width in the same tables (and also adds --image). Could you coordinate with #521 and keep one replay-docs change so these identical hunks do not need to be merged twice?

**@⁠gut0to** on GitHub · 2026-11-27 13:15 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/528#pullrequestreview-6088714626) · **reviewed** AI-assisted review: This appears to overlap the still-open #521, which already removes the same nonexistent --looks reference and documents --top, --roots, --flow-slots, --least and --width in the same tables (and also adds --image). Could you coordinate with #521 and keep one replay-docs change so these identical hunks do not need to be merged twice?
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/528/head:github-bot/gh-528'
git switch 'github-bot/gh-528'

Merge

Merge the changes and update on Forgejo.
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-528'
git switch 'github-bot/gh-528'
git rebase 'a-publier'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-528'
git switch 'github-bot/gh-528'
git rebase 'a-publier'
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-528'
git switch 'a-publier'
git merge --squash 'github-bot/gh-528'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-528'
git switch 'a-publier'
git merge 'github-bot/gh-528'
git push origin 'a-publier'
This discussion has been locked. Commenting is limited to contributors.
No description provided.