mirror of
https://github.com/Icinga/icinga2.git
synced 2025-05-29 10:50:19 +02:00
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…
x
Reference in New Issue
Block a user