Clean up wrench's command line handling
Categories
(Core :: Graphics: WebRender, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox82 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: n.nethercote)
Details
Attachments
(4 files)
wrench's command line handling is a bit of a mess.
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
replay is currently listed in args.yaml as both a synonym for show and
its own command. There is some weirdness with how clap handles that:
wrench help replayshows the help forreplay.wrench replay -hshows the help forshow.wrench replayactually runs the code forshow(and there is no code for
replay).
This commit removes the subcommand, leaving the synonym.
Depends on D88385
| Assignee | ||
Comment 3•5 years ago
|
||
Remove references to dead things: binary recording, --save, ENABLE_RECORDING.
Add brief docs about building wrench, and taking a capture.
And show is the canonical name for the subcommand, not replay.
Depends on D88386
| Assignee | ||
Comment 4•5 years ago
|
||
Currently -h means --headless when it comes before a subcommand but
--help when it comes after a subcommand. It should always be short for
--help, that's a very standard thing.
Depends on D88387
Comment 6•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0114b020f0d9
https://hg.mozilla.org/mozilla-central/rev/c63b95bef8c9
https://hg.mozilla.org/mozilla-central/rev/0eaa23944f7c
https://hg.mozilla.org/mozilla-central/rev/3e08cd7183a8
Description
•