diff options
author | Catherine Devlin <catherine.devlin@gmail.com> | 2010-11-09 05:22:41 -0500 |
---|---|---|
committer | Catherine Devlin <catherine.devlin@gmail.com> | 2010-11-09 05:22:41 -0500 |
commit | 116c3cfe8782c5bc75439770fd874f98f19a69c9 (patch) | |
tree | bd7418bec326af8f77e11664e5bc2605ef3d4504 /cmd2.py | |
parent | 1de83fe582ea574e66387b90d95b7ddd3db0c93f (diff) | |
download | cmd2-hg-116c3cfe8782c5bc75439770fd874f98f19a69c9.tar.gz |
doc update0.6.2
Diffstat (limited to 'cmd2.py')
-rwxr-xr-x | cmd2.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |