From 116c3cfe8782c5bc75439770fd874f98f19a69c9 Mon Sep 17 00:00:00 2001 From: Catherine Devlin Date: Tue, 9 Nov 2010 05:22:41 -0500 Subject: doc update --- cmd2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd2.py') diff --git a/cmd2.py b/cmd2.py index 0f2ee35..beb2ce1 100755 --- a/cmd2.py +++ b/cmd2.py @@ -440,7 +440,8 @@ class Cmd(cmd.Cmd): special characters that turn on (and then off) text color and style. If the ``colors`` environment paramter is ``False``, or the application is running on Windows, will return ``val`` unchanged. - Available colors/styles: red/blue/green/cyan/magenta, bold, underline''' + ``color`` should be one of the supported strings (or styles): + red/blue/green/cyan/magenta, bold, underline''' if self.colors and (self.stdout == self.initial_stdout): return self.colorcodes[color][True] + val + self.colorcodes[color][False] return val -- cgit v1.2.1