MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetArgumentSuggestions

Method GetArgumentSuggestions

lib/cli/daemoncommand.cpp:195–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195std::vector<String> DaemonCommand::GetArgumentSuggestions(const String& argument, const String& word) const
196{
197 if (argument == "config" || argument == "errorlog")
198 return GetBashCompletionSuggestions("file", word);
199 else
200 return CLICommand::GetArgumentSuggestions(argument, word);
201}
202
203#ifndef _WIN32
204// The PID of the Icinga umbrella process

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected