summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index c7fa2b89..1689d37c 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -2082,7 +2082,7 @@ class Cmd(cmd.Cmd):
else:
matches_delimited = False
- # Since self.display_matches is empty, then set it to self.completion_matches
+ # Since self.display_matches is empty, set it to self.completion_matches
# before we alter them. That way the suggestions will reflect how we parsed
# the token being completed and not how readline did.
self.display_matches = copy.copy(self.completion_matches)