Skip to content

Commit 35311ce

Browse files
committed
Updated a comment
1 parent 102e78e commit 35311ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd2/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def expand_user_in_tokens(tokens: List[str]) -> None:
291291

292292
tokens[index] = os.path.expanduser(tokens[index])
293293

294-
# Restore the quotes
294+
# Restore the quotes even if not needed to preserve what the user typed
295295
if first_char in constants.QUOTES:
296296
tokens[index] = first_char + tokens[index] + first_char
297297

0 commit comments

Comments
 (0)