diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-09-01 20:20:34 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-09-01 20:20:34 -0400 |
commit | 72fc6bf105f4b712d5a6f991746fd2f9084893fc (patch) | |
tree | ed1db5dc62c036a9cb86d4d3c8287c73e10d08d4 /examples/modular_commands_dynamic.py | |
parent | a33da043985257e1ed0ac7b3524e27d62611b1ac (diff) | |
download | cmd2-git-72fc6bf105f4b712d5a6f991746fd2f9084893fc.tar.gz |
Updated docs
Diffstat (limited to 'examples/modular_commands_dynamic.py')
-rw-r--r-- | examples/modular_commands_dynamic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/modular_commands_dynamic.py b/examples/modular_commands_dynamic.py index eb6283a7..b2be5dd1 100644 --- a/examples/modular_commands_dynamic.py +++ b/examples/modular_commands_dynamic.py @@ -50,7 +50,7 @@ class ExampleApp(cmd2.Cmd): self._fruits = LoadableFruits() self._vegetables = LoadableVegetables() - load_parser = cmd2.Cmd2ArgumentParser('load') + load_parser = cmd2.Cmd2ArgumentParser() load_parser.add_argument('cmds', choices=['fruits', 'vegetables']) @with_argparser(load_parser) |