mirror of https://github.com/Icinga/icinga2.git
parent
5e7e49708c
commit
74830dd8dd
|
@ -233,6 +233,9 @@ void CLICommand::ShowCommands(int argc, char **argv, po::options_description *vi
|
|||
continue;
|
||||
}
|
||||
|
||||
if (autocomplete && i >= autoindex - 1)
|
||||
break;
|
||||
|
||||
if (vname[i] != argv[k])
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue