mirror of https://github.com/Icinga/icinga2.git
Hide the --master_zone option in --help because it's not currently implemented
fixes #10720
This commit is contained in:
parent
b76fee5b98
commit
4169bf013b
|
@ -58,7 +58,6 @@ void NodeSetupCommand::InitParameters(boost::program_options::options_descriptio
|
|||
{
|
||||
visibleDesc.add_options()
|
||||
("zone", po::value<std::string>(), "The name of the local zone")
|
||||
("master_zone", po::value<std::string>(), "The name of the master zone")
|
||||
("master_host", po::value<std::string>(), "The name of the master host for auto-signing the csr")
|
||||
("endpoint", po::value<std::vector<std::string> >(), "Connect to remote endpoint; syntax: cn[,host,port]")
|
||||
("listen", po::value<std::string>(), "Listen on host,port")
|
||||
|
@ -68,6 +67,9 @@ void NodeSetupCommand::InitParameters(boost::program_options::options_descriptio
|
|||
("accept-config", "Accept config from master")
|
||||
("accept-commands", "Accept commands from master")
|
||||
("master", "Use setup for a master instance");
|
||||
|
||||
hiddenDesc.add_options()
|
||||
("master_zone", po::value<std::string>(), "The name of the master zone");
|
||||
}
|
||||
|
||||
std::vector<String> NodeSetupCommand::GetArgumentSuggestions(const String& argument, const String& word) const
|
||||
|
|
Loading…
Reference in New Issue