summaryrefslogtreecommitdiff
path: root/cmd2/parsing.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-03-06 08:43:17 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-03-06 08:43:17 -0500
commit38804d740f718c6e1db1e96845fae87b597a456e (patch)
tree6af378b07350ee8d1c45784a51caf98fef764217 /cmd2/parsing.py
parent3d52ee70ae4612b3a32ee3a37cf2324f7ddb0828 (diff)
downloadcmd2-git-38804d740f718c6e1db1e96845fae87b597a456e.tar.gz
Updated a comment and moved an import
Diffstat (limited to 'cmd2/parsing.py')
-rw-r--r--cmd2/parsing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/parsing.py b/cmd2/parsing.py
index 9c95ba75..d72ca4ec 100644
--- a/cmd2/parsing.py
+++ b/cmd2/parsing.py
@@ -256,7 +256,7 @@ def get_command_arg_list(to_parse: Union[Statement, str], preserve_quotes: bool)
else:
return to_parse.argv[1:]
else:
- # We only have the argument string. Use the parser to split this string.
+ # We have the arguments in a string. Use shlex to split it.
parsed_arglist = shlex_split(to_parse)
if not preserve_quotes:
parsed_arglist = [utils.strip_quotes(arg) for arg in parsed_arglist]