flake8
passed.
JSHint
passed.
Review Request #12184 — Created March 21, 2022 and submitted
This renames the existing
option_listusage onBaseMultiCommandto
common_subcommand_option_list, and re-enablesoption_listas the
options for the main commands on the multi-command.Through this, it's possible to have commands that take their own options
separate from those on subcommands.We also inject global options, ensuring that
rbt <maincommand> --help
will show--help,--debug, and--jsonas options.
Verified that
rbt reviewstill functioned correctly.rbt review --help
now shows standard options, and subcommands are all sharing the common ones.
| Summary | ID |
|---|---|
| 4fa07581bfe0d94c98de14eac30d373da75cab43 |