diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-08-20 09:07:40 -0400 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-08-20 09:07:40 -0400 |
| commit | 41da03c106ce6d92a45952e2ec4850429b3a3155 (patch) | |
| tree | f3cc2d2baaba434af5735a5bde12e40ae85fb152 /cmd2.py | |
| parent | 499fdd614f782de085054e2e50d926a0f0adb71f (diff) | |
| download | cmd2-git-41da03c106ce6d92a45952e2ec4850429b3a3155.tar.gz | |
feedback_to_output now defaults to False
This is so that non-essential info which isn't directly associated with command output, such as time elapsed while executing a command, won't redirect when command output is redirected using >, >>, or |.
Diffstat (limited to 'cmd2.py')
| -rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -470,7 +470,7 @@ class Cmd(cmd.Cmd): for editor in ['vim', 'vi', 'emacs', 'nano', 'pico', 'gedit', 'kate', 'subl', 'geany', 'atom']: if _which(editor): break - feedback_to_output = True # Do include nonessentials in >, | output + feedback_to_output = False # Do not include nonessentials in >, | output by default (things like timing) locals_in_py = True quiet = False # Do not suppress nonessential output timing = False # Prints elapsed time for each command |
