summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-04-25 14:41:06 -0600
committerkotfu <kotfu@kotfu.net>2018-04-25 14:41:06 -0600
commitb20a5166d0fe931e61bfec6beec4bb4aa7c131a4 (patch)
tree30c96b4b3bce94a94731772e30cefd64667b1da9
parent7aa0e6aafafea8e22504a643a986894b2140054b (diff)
downloadcmd2-git-b20a5166d0fe931e61bfec6beec4bb4aa7c131a4.tar.gz
Remove references to legalChars
-rw-r--r--SHLEX_TODO.txt1
-rwxr-xr-xcmd2/cmd2.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/SHLEX_TODO.txt b/SHLEX_TODO.txt
index 371a6a71..9b75328f 100644
--- a/SHLEX_TODO.txt
+++ b/SHLEX_TODO.txt
@@ -4,7 +4,6 @@ Notes on conversion from pyparsing to shlex taking place in the ply branch
Todo List:
- case sensitive flag
- refactor Cmd2.parseline() to use StatementParser.parse()
-- get rid of legalChars
- delete test_shlexparsing.py once I have all this data captured elsewhere
- we now ignore self.identchars, which breaks backwards compatibility with the cmd in the standard library
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 41f46d5c..17a6917c 100755
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -635,7 +635,7 @@ class Cmd(cmd.Cmd):
redirector = '>' # for sending output to file
shortcuts = {'?': 'help', '!': 'shell', '@': 'load', '@@': '_relative_load'}
aliases = dict()
- terminators = [';'] # make sure your terminators are not in legalChars!
+ terminators = [';']
# Attributes which are NOT dynamically settable at runtime
allow_cli_args = True # Should arguments passed on the command-line be processed as commands?