summaryrefslogtreecommitdiff
path: root/docs/argument_processing.rst
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-06-23 20:49:27 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2019-06-23 20:49:27 -0400
commit652122f3c9907a652a9c3a14581bb2aef90bc996 (patch)
tree9bcb0c07c2e2cee26553a1e11a1d9dbcb7225954 /docs/argument_processing.rst
parent181cecb217dd73056b72874d225e34528d484de8 (diff)
downloadcmd2-git-652122f3c9907a652a9c3a14581bb2aef90bc996.tar.gz
Made last_result public and restored the initialization of it in __init__ and associated comment
Diffstat (limited to 'docs/argument_processing.rst')
-rw-r--r--docs/argument_processing.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/argument_processing.rst b/docs/argument_processing.rst
index 4bd917cf..599e4cf0 100644
--- a/docs/argument_processing.rst
+++ b/docs/argument_processing.rst
@@ -267,7 +267,7 @@ Here's what it looks like::
if unknown:
self.perror("dir does not take any positional arguments:", traceback_war=False)
self.do_help('dir')
- self._last_result = CommandResult('', 'Bad arguments')
+ self.last_result = CommandResult('', 'Bad arguments')
return
# Get the contents as a list