diff options
author | Eric Lin <anselor@gmail.com> | 2020-07-29 17:59:47 -0400 |
---|---|---|
committer | anselor <anselor@gmail.com> | 2020-08-04 13:38:08 -0400 |
commit | 105369bdd15c2067b3ee6bdd6a737733a34c38ef (patch) | |
tree | 6358e7923d35d491998d263a93fdbdd8f1e8c256 /cmd2/argparse_custom.py | |
parent | 8d0b162cf5712c26947f1e0bbc2b1021cb71e366 (diff) | |
download | cmd2-git-105369bdd15c2067b3ee6bdd6a737733a34c38ef.tar.gz |
Suggested PR Fixes.
sub-commande => subcommand
Added help/aliases to `as_subcommand_to` decorator.
Diffstat (limited to 'cmd2/argparse_custom.py')
-rw-r--r-- | cmd2/argparse_custom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/argparse_custom.py b/cmd2/argparse_custom.py index 689c1db7..9dde5347 100644 --- a/cmd2/argparse_custom.py +++ b/cmd2/argparse_custom.py @@ -774,7 +774,7 @@ class Cmd2ArgumentParser(argparse.ArgumentParser): allow_abbrev=allow_abbrev) self.register('action', 'unloadable_parsers', _UnloadableSubParsersAction) - def add_subparsers(self, unloadable=False, **kwargs): + def add_subparsers(self, unloadable: bool = False, **kwargs): """ Custom override. Sets a default title if one was not given. |