From e3ed15ed375674729d65e4f594a8958ea91ae684 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Thu, 27 Aug 2020 20:56:56 -0400 Subject: 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. --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CHANGELOG.md') 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 -- cgit v1.2.1