summaryrefslogtreecommitdiff
path: root/cmd2
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2020-01-14 22:33:29 -0700
committerkotfu <kotfu@kotfu.net>2020-01-14 22:33:29 -0700
commitec8e7438edb0ff05758f1b4e11a483e0080228b9 (patch)
tree2776f51f64adf2d744af9c4d2940719f8fb8d55c /cmd2
parent6331e81de1f86b91eb8044a87d1ba2ffbe326183 (diff)
downloadcmd2-git-ec8e7438edb0ff05758f1b4e11a483e0080228b9.tar.gz
Add comment for broken_pipe_warning
Diffstat (limited to 'cmd2')
-rw-r--r--cmd2/cmd2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 7ad2b471..f41fb139 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -290,6 +290,7 @@ class Cmd(cmd.Cmd):
# The error that prints when a non-existent command is run
self.default_error = "{} is not a recognized command, alias, or macro"
+ # If non-empty, this contents will be displayed if a broken pipe error occurs
self.broken_pipe_warning = ''
# Commands that will run at the beginning of the command loop