diff options
Diffstat (limited to 'cmd2/utils.py')
-rw-r--r-- | cmd2/utils.py | 2 |
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 |