diff options
author | Spencer T Brody <spencer@mongodb.com> | 2015-10-21 17:55:18 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2015-10-22 13:02:28 -0400 |
commit | 33ee46d9afb324e31433d6389ca6bbaa2257deca (patch) | |
tree | 768098423059a275e1e6336a9e672ffc157b974e /src | |
parent | 4a53cc3e6acb4d4486a6f126151ed5eb2d189a86 (diff) | |
download | mongo-33ee46d9afb324e31433d6389ca6bbaa2257deca.tar.gz |
SERVER-20971 Improve mongos help text for --configdb option
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/s/mongos_options.cpp | 8 |
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", |