diff options
Diffstat (limited to 'cmd2.py')
-rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2096,7 +2096,7 @@ class Cmd(cmd.Cmd): common_prefix = os.path.commonprefix(self.completion_matches) if matches_delimited: - # Check if any of the display matches are part of the tab completion text + # Check if any portion of the display matches appears in the tab completion display_prefix = os.path.commonprefix(self.display_matches) # For delimited matches, we check what appears before the display |