diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-08-27 20:56:56 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-08-27 23:17:05 -0400 |
commit | e3ed15ed375674729d65e4f594a8958ea91ae684 (patch) | |
tree | a05524c8f7fc3c56776e32648b5808252c7e6d51 /CHANGELOG.md | |
parent | 47f8652fa467b2d140b1097b3167f968b0188451 (diff) | |
download | cmd2-git-e3ed15ed375674729d65e4f594a8958ea91ae684.tar.gz |
Fixed issue where subcommand added with @as_subcommand_to decorator did not display help when called with -h/--help.
'add_help=False' no longer has to be passed to parsers used in @as_subcommand_to decorator.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 12478a29..5c65bb8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## 1.3.8 (August 28, 2020) +* Bug Fixes + * Fixed issue where subcommand added with `@as_subcommand_to` decorator did not display help + when called with `-h/--help`. +* Enhancements + * `add_help=False` no longer has to be passed to parsers used in `@as_subcommand_to` decorator. + Only pass this if your subcommand should not have the `-h/--help` help option (as stated in + argparse documentation). + ## 1.3.7 (August 27, 2020) * Bug Fixes * Fixes an issue introduced in 1.3.0 with processing command strings containing terminator/separator |