Skip to content

Add '-h' as alias for '--help' on all commands

As a new BuildStream user, I reach for the help often. --help is more typing than I expected.

I tested this by running all the bst subcommands with -h before and after the change. No subcommands are using -h for anything else, all commands succeeded with the new help option.

Click has supported such overriding since version 2.0, as documented: http://click.pocoo.org/5/documentation/#help-parameter-customization

Click 2.0 was released in 2014.

Merge request reports

Loading