Added
- use
.addHelpText()
to add text before or after the built-in help, for just current command or also for all subcommands (#1296) - enhance Option class (#1331)
- allow hiding options from help
- allow restricting option arguments to a list of choices
- allow setting how default value is shown in help
- refactor the code generating the help into a separate public Help class (#1365)
- support sorting subcommands and options in help
- support specifying wrap width (columns)
- allow subclassing Help class
- allow configuring Help class without subclassing
Fixed
- wrapping bugs in help (#1365)
- first line of command description was wrapping two characters early
- pad width calculation was not including help option and help command
- pad width calculation was including hidden options and commands