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