diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-08-25 12:03:49 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-08-25 12:03:49 -0400 |
commit | 5942f2105eb83140a8ab37e655e2561c4d17d3a2 (patch) | |
tree | 09f6a2a6da8a0da4c8150b84988f41ad571312f6 /examples/decorator_example.py | |
parent | a394ed3b83be17986e168b8d0817892cbabd088f (diff) | |
parent | 97c348c599d8fa963553593e5c19fb100b85e313 (diff) | |
download | cmd2-git-5942f2105eb83140a8ab37e655e2561c4d17d3a2.tar.gz |
Merge branch 'master' into 2.0
Diffstat (limited to 'examples/decorator_example.py')
-rwxr-xr-x | examples/decorator_example.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/decorator_example.py b/examples/decorator_example.py index 0f5374ce..5b721da6 100755 --- a/examples/decorator_example.py +++ b/examples/decorator_example.py @@ -67,7 +67,7 @@ class CmdLineApp(cmd2.Cmd): def do_tag(self, args: argparse.Namespace): """create an html tag""" # The Namespace always includes the Statement object created when parsing the command line - statement = args.__statement__ + statement = args.get_statement() self.poutput("The command line you ran was: {}".format(statement.command_and_args)) self.poutput("It generated this tag:") |