Skip to content
Permalink
Browse files

Hide the --master_zone option in --help because it's not currently im…

…plemented

fixes #10720
  • Loading branch information...
gunnarbeutner committed Nov 25, 2015
1 parent 93c5fc5 commit bf97d7cc57478bed20d53c93b8b74e52eccfe240
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/cli/nodesetupcommand.cpp
@@ -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

0 comments on commit bf97d7c

Please sign in to comment.
You can’t perform that action at this time.