summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2/cmd2.py')
-rwxr-xr-xcmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 6b509c20..91395bae 100755
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2691,7 +2691,7 @@ class Cmd(cmd.Cmd):
if func is not None and argparser is not None:
from .argparse_completer import AutoCompleter
completer = AutoCompleter(argparser, self)
- matches = completer.complete_command_help(tokens[cmd_index:], text, line, begidx, endidx)
+ matches = completer.complete_subcommand_help(tokens[cmd_index:], text, line, begidx, endidx)
return matches