summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-04-15 01:34:03 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-04-15 01:34:03 -0400
commita94a3d7478aa046ab09a625ae38ce795ae7e0702 (patch)
treec9fa7729ac5fa4e27074d99c3f80876d110fabb4 /cmd2.py
parent9bdde1b84a9aa06b3a8d2211b79dc9d2a3626551 (diff)
downloadcmd2-git-a94a3d7478aa046ab09a625ae38ce795ae7e0702.tar.gz
Comment update
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 2403cd75..c7fa2b89 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -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