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

Method GetArgumentSuggestions

lib/cli/pkiverifycommand.cpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36std::vector<String> PKIVerifyCommand::GetArgumentSuggestions(const String& argument, const String& word) const
37{
38 if (argument == "cert" || argument == "cacert" || argument == "crl")
39 return GetBashCompletionSuggestions("file", word);
40 else
41 return CLICommand::GetArgumentSuggestions(argument, word);
42}
43
44/**
45 * The entry point for the "pki verify" CLI command.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected