summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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