Skip to content

Commit ec8e743

Browse files
committed
Add comment for broken_pipe_warning
1 parent 6331e81 commit ec8e743

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd2/cmd2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ def __init__(self, completekey: str = 'tab', stdin=None, stdout=None, *,
290290
# The error that prints when a non-existent command is run
291291
self.default_error = "{} is not a recognized command, alias, or macro"
292292

293+
# If non-empty, this contents will be displayed if a broken pipe error occurs
293294
self.broken_pipe_warning = ''
294295

295296
# Commands that will run at the beginning of the command loop

0 commit comments

Comments
 (0)