From 4169bf013b4e692607451b310698d261312d993c Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 25 Nov 2015 18:58:52 +0100 Subject: [PATCH] Hide the --master_zone option in --help because it's not currently implemented fixes #10720 --- lib/cli/nodesetupcommand.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/cli/nodesetupcommand.cpp b/lib/cli/nodesetupcommand.cpp index 2ec07859f..20579a7b7 100644 --- a/lib/cli/nodesetupcommand.cpp +++ b/lib/cli/nodesetupcommand.cpp @@ -58,7 +58,6 @@ void NodeSetupCommand::InitParameters(boost::program_options::options_descriptio { visibleDesc.add_options() ("zone", po::value(), "The name of the local zone") - ("master_zone", po::value(), "The name of the master zone") ("master_host", po::value(), "The name of the master host for auto-signing the csr") ("endpoint", po::value >(), "Connect to remote endpoint; syntax: cn[,host,port]") ("listen", po::value(), "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(), "The name of the master zone"); } std::vector NodeSetupCommand::GetArgumentSuggestions(const String& argument, const String& word) const -- 2.40.0