Skip to content

Commit 383853e

Browse files
committed
Updated documentation
1 parent f970c16 commit 383853e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd2/cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def __init__(self, completekey: str = 'tab', stdin=None, stdout=None, *,
207207
self.settable = \
208208
{
209209
# allow_style is a special case in which it's an application-wide setting defined in ansi.py
210-
'allow_style': ('Allow ANSI style sequences in output '
210+
'allow_style': ('Allow ANSI text style sequences in output '
211211
'(valid values: {}, {}, {})'.format(ansi.STYLE_TERMINAL,
212212
ansi.STYLE_ALWAYS,
213213
ansi.STYLE_NEVER)),

docs/features/settings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ comments, is viewable from within a running application
4646
with::
4747

4848
(Cmd) set --long
49-
allow_style: Terminal # Allow ANSI style sequences in output (valid values: Terminal, Always, Never)
49+
allow_style: Terminal # Allow ANSI text style sequences in output (valid values: Terminal, Always, Never)
5050
continuation_prompt: > # On 2nd+ line of input
5151
debug: False # Show full error stack on error
5252
echo: False # Echo command issued into output

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def verify_help_text(cmd2_app: cmd2.Cmd, help_output: Union[str, List[str]]) ->
102102
"""
103103

104104
SHOW_LONG = """
105-
allow_style: Terminal # Allow ANSI style sequences in output (valid values: Terminal, Always, Never)
105+
allow_style: Terminal # Allow ANSI text style sequences in output (valid values: Terminal, Always, Never)
106106
continuation_prompt: > # On 2nd+ line of input
107107
debug: False # Show full error stack on error
108108
echo: False # Echo command issued into output

0 commit comments

Comments
 (0)