summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-06-26 00:07:52 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-06-26 00:07:52 -0400
commit61698b2fc28daad462da9e459318e3208e0d7920 (patch)
treefbed2371272ea5246931b8ed53ea1860f0529b8d /examples
parentf08b0ce5a4ae5fec19ecd9d66416c32fe89a3a4e (diff)
downloadcmd2-git-61698b2fc28daad462da9e459318e3208e0d7920.tar.gz
Renamed style_message to style
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/pirate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pirate.py b/examples/pirate.py
index 6802edb6..41d7d3f4 100755
--- a/examples/pirate.py
+++ b/examples/pirate.py
@@ -70,7 +70,7 @@ class Pirate(cmd2.Cmd):
def do_sing(self, arg):
"""Sing a colorful song."""
- self.poutput(utils.style_message(arg, fg=self.songcolor))
+ self.poutput(utils.style(arg, fg=self.songcolor))
yo_parser = argparse.ArgumentParser()
yo_parser.add_argument('--ho', type=int, default=2, help="How often to chant 'ho'")