mirror of https://github.com/Icinga/icinga2.git
parent
445376833c
commit
14d8366d05
|
@ -207,6 +207,9 @@ void CLICommand::ShowCommands(int argc, char **argv, po::options_description *vi
|
|||
if (autocomplete) {
|
||||
if (autoindex < argc)
|
||||
aword = argv[autoindex];
|
||||
|
||||
if (autoindex - 1 > best_match.size())
|
||||
return;
|
||||
} else
|
||||
std::cout << "Supported commands: " << std::endl;
|
||||
|
||||
|
|
Loading…
Reference in New Issue