summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-08-08 12:22:05 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-08-08 12:22:05 -0400
commit0efcea486760a59033819f5dc954a73c031baea5 (patch)
tree4e84e75a743f4c912e641c3ad4a87db4fa5fa718 /cmd2/cmd2.py
parentc1c7cacd66555c7f4b80abc51bb93f8d58be836f (diff)
downloadcmd2-git-0efcea486760a59033819f5dc954a73c031baea5.tar.gz
Fixed comments
Diffstat (limited to 'cmd2/cmd2.py')
-rwxr-xr-xcmd2/cmd2.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 19bdc244..a0df0b00 100755
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -423,13 +423,14 @@ class Cmd(cmd.Cmd):
# Commands to exclude from the help menu and tab completion
self.hidden_commands = ['eof', '_relative_load', '_relative_run_script']
- # Commands to exclude from the history command
- # initialize history
+ # Initialize history
self._persistent_history_length = persistent_history_length
self._initialize_history(persistent_history_file)
+
+ # Commands to exclude from the history command
self.exclude_from_history = '''history edit eof'''.split()
- # Command aliases and macros
+ # Dictionary of macro names and their values
self.macros = dict()
# Keeps track of typed command history in the Python shell