summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-03-17 14:42:01 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-03-17 14:42:01 -0400
commitb0480b3b702954663bc7c80ef497c72af45ade64 (patch)
tree0178c84146c9043c51bfc28751babfa5e7b22a31
parentadbcec5c9ee34bd2cd683c2574e94594de1f3267 (diff)
downloadcmd2-git-b0480b3b702954663bc7c80ef497c72af45ade64.tar.gz
Forgot a flag check
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index 73ee4ffd..33050e6e 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -2377,7 +2377,7 @@ Usage: Usage: unalias [-a] name [name ...]
if command_completions:
# Only add a space if there is one completion not in quotes and the end of the line
- if len(command_completions) == 1 and endidx == len(line):
+ if len(command_completions) == 1 and not in_quotes and endidx == len(line):
command_completions[0] += ' '
return command_completions