Closed Bug 1661408 Opened 4 years ago Closed 4 years ago

Clean up wrench's command line handling

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

RESOLVED FIXED
82 Branch
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.

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 for replay.
  • wrench replay -h shows the help for show.
  • wrench replay actually runs the code for show (and there is no code for
    replay).

This commit removes the subcommand, leaving the synonym.

Depends on D88385

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

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

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: