summaryrefslogtreecommitdiff
path: root/cmd2/utils.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-05-08 00:44:34 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-05-08 00:44:34 -0400
commit35311cebc81c52f1e5f334df0dec6226d07755c1 (patch)
tree136802efd07c52f7cf7fda5415658f7517893ac2 /cmd2/utils.py
parent102e78e20dd3b19e7075f5d9d3ad3e1216687429 (diff)
downloadcmd2-git-35311cebc81c52f1e5f334df0dec6226d07755c1.tar.gz
Updated a comment
Diffstat (limited to 'cmd2/utils.py')
-rw-r--r--cmd2/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/utils.py b/cmd2/utils.py
index 45e55c2b..398d39e6 100644
--- a/cmd2/utils.py
+++ b/cmd2/utils.py
@@ -291,7 +291,7 @@ def expand_user_in_tokens(tokens: List[str]) -> None:
tokens[index] = os.path.expanduser(tokens[index])
- # Restore the quotes
+ # Restore the quotes even if not needed to preserve what the user typed
if first_char in constants.QUOTES:
tokens[index] = first_char + tokens[index] + first_char