From ec8e7438edb0ff05758f1b4e11a483e0080228b9 Mon Sep 17 00:00:00 2001 From: kotfu Date: Tue, 14 Jan 2020 22:33:29 -0700 Subject: Add comment for broken_pipe_warning --- cmd2/cmd2.py | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd2') 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 -- cgit v1.2.1