summaryrefslogtreecommitdiff
path: root/src/mongo/s/mongos_options.cpp
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2015-10-21 17:55:18 -0400
committerSpencer T Brody <spencer@mongodb.com>2015-10-22 13:02:28 -0400
commit33ee46d9afb324e31433d6389ca6bbaa2257deca (patch)
tree768098423059a275e1e6336a9e672ffc157b974e /src/mongo/s/mongos_options.cpp
parent4a53cc3e6acb4d4486a6f126151ed5eb2d189a86 (diff)
downloadmongo-33ee46d9afb324e31433d6389ca6bbaa2257deca.tar.gz
SERVER-20971 Improve mongos help text for --configdb option
Diffstat (limited to 'src/mongo/s/mongos_options.cpp')
-rw-r--r--src/mongo/s/mongos_options.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mongo/s/mongos_options.cpp b/src/mongo/s/mongos_options.cpp
index 4139c8d56f6..ebc5de3eb23 100644
--- a/src/mongo/s/mongos_options.cpp
+++ b/src/mongo/s/mongos_options.cpp
@@ -83,7 +83,13 @@ Status addMongosOptions(moe::OptionSection* options) {
moe::OptionSection sharding_options("Sharding options");
sharding_options.addOptionChaining(
- "sharding.configDB", "configdb", moe::String, "1 or 3 comma separated config servers");
+ "sharding.configDB",
+ "configdb",
+ moe::String,
+ "Connection string for communicating with config servers. Acceptable forms:\n"
+ "CSRS: <config replset name>/<host1:port>,<host2:port>,[...]\n"
+ "SCCC (deprecated): <host1:port>,<host2:port>,<host3:port>\n"
+ "Single-node (for testing only): <host1:port>");
sharding_options.addOptionChaining(
"replication.localPingThresholdMs",