summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-05-08 10:02:44 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-05-08 10:02:44 -0400
commit6a3dbec1111ef1131781a6af441b89f68801c82a (patch)
tree0079ff5303a71025d4e915068499179b3a3f2b1e /cmd2/cmd2.py
parentccc92a283f76b535dff912b10aca4c9782bbde5c (diff)
downloadcmd2-git-6a3dbec1111ef1131781a6af441b89f68801c82a.tar.gz
Updated warning message
Diffstat (limited to 'cmd2/cmd2.py')
-rwxr-xr-xcmd2/cmd2.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 24ced18e..725b6497 100755
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -57,10 +57,10 @@ from cmd2.parsing import StatementParser, Statement
# Set up readline
from .rl_utils import rl_type, RlType
if rl_type == RlType.NONE:
- rl_err_msg = "Readline features including tab completion and history have been disabled since no \n" \
- "supported version of readline was found. To resolve this, install pyreadline on \n" \
- "Windows or gnureadline on Mac.\n\n"
- sys.stderr.write(Fore.LIGHTYELLOW_EX + rl_err_msg + Fore.RESET)
+ rl_warning = "Readline features including tab completion have been disabled since no \n" \
+ "supported version of readline was found. To resolve this, install \n" \
+ "pyreadline on Windows or gnureadline on Mac.\n\n"
+ sys.stderr.write(Fore.LIGHTYELLOW_EX + rl_warning + Fore.RESET)
else:
from .rl_utils import rl_force_redisplay, readline