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

Function GlobalArgumentCompletion

icinga-app/icinga.cpp:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73static std::vector<String> GlobalArgumentCompletion(const String& argument, const String& word)
74{
75 if (argument == "include")
76 return GetBashCompletionSuggestions("directory", word);
77 else if (argument == "log-level")
78 return GetLogLevelCompletionSuggestions(word);
79 else
80 return std::vector<String>();
81}
82
83static void HandleLegacyDefines()
84{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected