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•4 years ago
|
||
Assignee | ||
Comment 2•4 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 replay
shows the help forreplay
.wrench replay -h
shows the help forshow
.wrench replay
actually 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•4 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•4 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•4 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
•