summaryrefslogtreecommitdiff
path: root/cmd2/ansi.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2/ansi.py')
-rw-r--r--cmd2/ansi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd2/ansi.py b/cmd2/ansi.py
index 6ed51517..d3af525a 100644
--- a/cmd2/ansi.py
+++ b/cmd2/ansi.py
@@ -198,13 +198,13 @@ def style(text: Any, *, fg: str = '', bg: str = '', bold: bool = False,
# These can be altered to suit an application's needs and only need to be a
# function with the following structure: func(str) -> str
style_success = functools.partial(style, fg='green')
-"""Partial function supplying arguments to :meth:`cmd2.ansi.style()` to generate bold green text"""
+"""Partial function supplying arguments to :meth:`cmd2.ansi.style()` which colors text to signify success"""
style_warning = functools.partial(style, fg='bright_yellow')
-"""Partial function supplying arguments to :meth:`cmd2.ansi.style()` to generate yellow text"""
+"""Partial function supplying arguments to :meth:`cmd2.ansi.style()` which colors text to signify a warning"""
style_error = functools.partial(style, fg='bright_red')
-"""Partial function supplying arguments to :meth:`cmd2.ansi.style()` to generate bright red text"""
+"""Partial function supplying arguments to :meth:`cmd2.ansi.style()` which colors text to signify an error"""
def async_alert_str(*, terminal_columns: int, prompt: str, line: str, cursor_offset: int, alert_msg: str) -> str: