Skip to content

Commit b9c6369

Browse files
committed
Fix display of doc_leader with background color
1 parent 471fe54 commit b9c6369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd2/cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4069,7 +4069,7 @@ def do_help(self, args: argparse.Namespace) -> None:
40694069

40704070
if self.doc_leader:
40714071
self.poutput()
4072-
self.poutput(self.doc_leader, style=Cmd2Style.HELP_LEADER)
4072+
self.poutput(Text(self.doc_leader, style=Cmd2Style.HELP_LEADER))
40734073
self.poutput()
40744074

40754075
# Print any categories first and then the default category.

0 commit comments

Comments
 (0)