Skip to content

Commit 89397b5

Browse files
committed
Fixed comment
1 parent fb4e0c2 commit 89397b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd2/cmd2.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,8 +1600,7 @@ def complete(self, text, state):
16001600
tokens, raw_tokens = self.tokens_for_completion(line, begidx, endidx)
16011601

16021602
# Either had a parsing error or are trying to complete the command token
1603-
# The latter can happen if default_to_shell is True and parseline() allowed
1604-
# assumed something like " or ' was a command.
1603+
# The latter can happen if " or ' was entered as the command
16051604
if tokens is None or len(tokens) == 1:
16061605
self.completion_matches = []
16071606
return None

0 commit comments

Comments
 (0)