diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-04-11 13:33:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 13:33:45 -0400 |
commit | c4fbd8fa618b5c48cc38ac5c262d3c1ec53ce9af (patch) | |
tree | 6bbe109ac6bc4dc5082fc8cd8e6cecd6a94ac677 /cmd2/cmd2.py | |
parent | 0d4be64b6ec76fcf5f87933293dbc7c134a32cf0 (diff) | |
parent | 526ab5325536f91c48867f4497f4b3dd4150f482 (diff) | |
download | cmd2-git-c4fbd8fa618b5c48cc38ac5c262d3c1ec53ce9af.tar.gz |
Merge pull request #918 from python-cmd2/echo_updates
App echo updates
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index a8661e3c..de7e7f5a 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -213,7 +213,7 @@ class Cmd(cmd.Cmd): self.self_in_py = False # Commands to exclude from the help menu and tab completion - self.hidden_commands = ['eof', '_relative_load', '_relative_run_script'] + self.hidden_commands = ['eof', '_relative_run_script'] # Initialize history self._persistent_history_length = persistent_history_length @@ -258,7 +258,7 @@ class Cmd(cmd.Cmd): self.sigint_protection = utils.ContextFlag() # If the current command created a process to pipe to, then this will be a ProcReader object. - # Otherwise it will be None. Its used to know when a pipe process can be killed and/or waited upon. + # Otherwise it will be None. It's used to know when a pipe process can be killed and/or waited upon. self._cur_pipe_proc_reader = None # Used to keep track of whether we are redirecting or piping output @@ -3904,7 +3904,7 @@ class Cmd(cmd.Cmd): alert_msg += '\n' update_terminal = True - # Set the prompt if its changed + # Set the prompt if it's changed if new_prompt is not None and new_prompt != self.prompt: self.prompt = new_prompt |