diff options
author | Eric Lin <anselor@gmail.com> | 2020-07-30 01:32:29 -0400 |
---|---|---|
committer | anselor <anselor@gmail.com> | 2020-08-04 13:38:08 -0400 |
commit | dac009f17c58df4b8d4dbcd3c621bf6ef2481a96 (patch) | |
tree | 24f2ff3cc3897ac247a290dbdc5a518e734661aa /isolated_tests/test_commandset/test_commandset.py | |
parent | 105369bdd15c2067b3ee6bdd6a737733a34c38ef (diff) | |
download | cmd2-git-dac009f17c58df4b8d4dbcd3c621bf6ef2481a96.tar.gz |
Removed sub-class and instead patch argparse._SubParsersAction
Diffstat (limited to 'isolated_tests/test_commandset/test_commandset.py')
-rw-r--r-- | isolated_tests/test_commandset/test_commandset.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isolated_tests/test_commandset/test_commandset.py b/isolated_tests/test_commandset/test_commandset.py index 98385772..f16a6ff4 100644 --- a/isolated_tests/test_commandset/test_commandset.py +++ b/isolated_tests/test_commandset/test_commandset.py @@ -272,7 +272,7 @@ class LoadableBase(cmd2.CommandSet): self._dummy = dummy # prevents autoload cut_parser = cmd2.Cmd2ArgumentParser('cut') - cut_subparsers = cut_parser.add_subparsers(title='item', help='item to cut', unloadable=True) + cut_subparsers = cut_parser.add_subparsers(title='item', help='item to cut') @cmd2.with_argparser(cut_parser) def do_cut(self, ns: argparse.Namespace): |