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