diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-06-26 00:07:52 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-06-26 00:07:52 -0400 |
commit | 61698b2fc28daad462da9e459318e3208e0d7920 (patch) | |
tree | fbed2371272ea5246931b8ed53ea1860f0529b8d /examples | |
parent | f08b0ce5a4ae5fec19ecd9d66416c32fe89a3a4e (diff) | |
download | cmd2-git-61698b2fc28daad462da9e459318e3208e0d7920.tar.gz |
Renamed style_message to style
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/pirate.py | 2 |
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'") |