Update rbext to print help output when no command is given.

Review Request #13147 — Created July 14, 2023 and submitted — Latest diff uploaded

Information

Review Board
release-6.x

Reviewers

Currently, rbext crashes when run without a command. This change fixes
that by checking whether a command was provided, and printing help
instead.

Ran rbext without a command, and verified the output.

Also ran rbext with commands, making sure that worked as expected.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Update rbext to print help output when no command is given.
Currently, `rbext` crashes when run without a command. This change fixes that by checking whether a command was provided, and printing help instead.
c1e8218ea5870d39f1e06c598ed83cfa0f01e642 Christian Hammond
reviewboard/cmdline/rbext.py
Loading...