Skip to content

Commit bcf492a

Browse files
committed
Fixed missing justify arg.
1 parent e86429a commit bcf492a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cmd2/cmd2.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,9 @@ def __init__(
414414
else:
415415
self.stdin = sys.stdin
416416

417-
# What to use for standard output
417+
# Standard output stream. The interactive UI remains attached to this initial
418+
# stream even when self.stdout is temporarily swapped during command output
419+
# redirection.
418420
if stdout is not None:
419421
self.stdout = stdout
420422
else:
@@ -1765,6 +1767,7 @@ def ppaged(
17651767
end=end,
17661768
style=style,
17671769
soft_wrap=soft_wrap,
1770+
justify=justify,
17681771
emoji=emoji,
17691772
markup=markup,
17701773
highlight=highlight,

0 commit comments

Comments
 (0)