mirror of https://github.com/Icinga/icinga2.git
parent
ce6f7ace89
commit
65579942ad
|
@ -208,7 +208,7 @@ void CLICommand::ShowCommands(int argc, char **argv, po::options_description *vi
|
|||
if (autoindex < argc)
|
||||
aword = argv[autoindex];
|
||||
|
||||
if (autoindex - 1 > best_match.size())
|
||||
if (autoindex - 1 > best_match.size() && !command)
|
||||
return;
|
||||
} else
|
||||
std::cout << "Supported commands: " << std::endl;
|
||||
|
|
Loading…
Reference in New Issue