summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorCatherine Devlin <catherine.devlin@gmail.com>2010-11-09 05:22:41 -0500
committerCatherine Devlin <catherine.devlin@gmail.com>2010-11-09 05:22:41 -0500
commita58f499dedb95aade970f04f7c4f5e97b8e3f2ee (patch)
treebd7418bec326af8f77e11664e5bc2605ef3d4504 /cmd2.py
parent5dd3afba6283bba7db1ff974f5c389bf9348ebbf (diff)
downloadcmd2-git-a58f499dedb95aade970f04f7c4f5e97b8e3f2ee.tar.gz
doc update0.6.2
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index 0f2ee359..beb2ce1a 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