summaryrefslogtreecommitdiff
path: root/examples/modular_subcommands.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/modular_subcommands.py')
-rw-r--r--examples/modular_subcommands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/modular_subcommands.py b/examples/modular_subcommands.py
index 4445fde2..c1d499f0 100644
--- a/examples/modular_subcommands.py
+++ b/examples/modular_subcommands.py
@@ -46,7 +46,7 @@ class LoadableVegetables(CommandSet):
bokchoy_parser.add_argument('style', choices=['quartered', 'diced'])
@cmd2.as_subcommand_to('cut', 'bokchoy', bokchoy_parser, help=bokchoy_description.lower())
- def cut_bokchoy(self, _: cmd2.Statement):
+ def cut_bokchoy(self, _: argparse.Namespace):
self._cmd.poutput('Bok Choy')