Skip to content

Commit 6d9dba9

Browse files
committed
Fix typos
1 parent abdc912 commit 6d9dba9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/rich_theme.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ def do_theme_show(self, _: cmd2.Statement):
3131
"""Showcases the custom theme by printing messages with different styles."""
3232
self.poutput("This is a basic output message.")
3333
self.psuccess("This is a success message.")
34-
self.warning("This is a warning message.")
35-
self.error("This is an error message.")
34+
self.pwarning("This is a warning message.")
35+
self.perror("This is an error message.")
3636

3737

3838
if __name__ == "__main__":

0 commit comments

Comments
 (0)