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

Open
rustnoob-dev wants to merge 1 commit from upstream-pr/528 into a-publier
rustnoob-dev commented 2026-11-27 09:39:28 +00:00 (Migrated from github.com)

Imported from Belobug/VIctory-Belobug-AMD. Originally posted by rustnoob-dev on 2026-11-27T09:39:28Z.


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.

<!-- greyfinch-sync:Belobug/VIctory-Belobug-AMD:issue:5524434523 --> Imported from [Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD/pull/528). Originally posted by [rustnoob-dev](https://github.com/rustnoob-dev) on 2026-11-27T09:39:28Z. --- 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.
AccelArch commented 2026-11-27 11:56:08 +00:00 (Migrated from github.com)

Imported from Belobug/VIctory-Belobug-AMD. Originally posted by AccelArch on 2026-11-27T11:56:08Z.


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.

<!-- greyfinch-sync:Belobug/VIctory-Belobug-AMD:comment:7217644819 --> Imported from [Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD/pull/528#issuecomment-7217644819). Originally posted by [AccelArch](https://github.com/AccelArch) on 2026-11-27T11:56:08Z. --- 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.
gut0to commented 2026-11-27 13:15:14 +00:00 (Migrated from github.com)

Imported from Belobug/VIctory-Belobug-AMD. Originally posted by gut0to on 2026-11-27T13:15:14Z.

Review: COMMENTED


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?

<!-- greyfinch-sync:Belobug/VIctory-Belobug-AMD:review:6088714626 --> Imported from [Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD/pull/528#pullrequestreview-6088714626). Originally posted by [gut0to](https://github.com/gut0to) on 2026-11-27T13:15:14Z. **Review:** COMMENTED --- 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 cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/528:upstream-pr/528'
git switch 'upstream-pr/528'

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.

git switch 'a-publier'
git merge --no-ff 'upstream-pr/528'
git switch 'upstream-pr/528'
git rebase 'a-publier'
git switch 'a-publier'
git merge --ff-only 'upstream-pr/528'
git switch 'upstream-pr/528'
git rebase 'a-publier'
git switch 'a-publier'
git merge --no-ff 'upstream-pr/528'
git switch 'a-publier'
git merge --squash 'upstream-pr/528'
git switch 'a-publier'
git merge --ff-only 'upstream-pr/528'
git switch 'a-publier'
git merge 'upstream-pr/528'
git push origin 'a-publier'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Belobug/VIctory-Belobug-AMD!528
No description provided.