summaryrefslogtreecommitdiff
path: root/src/mongo/tools/mongobridge_options.cpp
diff options
context:
space:
mode:
authorShaun Verch <shaun.verch@10gen.com>2013-10-24 11:24:19 -0400
committerShaun Verch <shaun.verch@10gen.com>2013-10-24 11:25:24 -0400
commitcfff07276553e9a4131a1699a9f58c3e6cb0b3b3 (patch)
tree8338cdc328e8dc8bbd9894d4055c38599c2f42d6 /src/mongo/tools/mongobridge_options.cpp
parente8fe7befcf2f698f988e0ac80a5b48ac51e6f922 (diff)
downloadmongo-cfff07276553e9a4131a1699a9f58c3e6cb0b3b3.tar.gz
SERVER-11144 Swap meaning of prevalidation return value and add comment
Diffstat (limited to 'src/mongo/tools/mongobridge_options.cpp')
-rw-r--r--src/mongo/tools/mongobridge_options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/tools/mongobridge_options.cpp b/src/mongo/tools/mongobridge_options.cpp
index cfcc511cbf3..dc7ad9f60dc 100644
--- a/src/mongo/tools/mongobridge_options.cpp
+++ b/src/mongo/tools/mongobridge_options.cpp
@@ -52,9 +52,9 @@ namespace mongo {
bool handlePreValidationMongoBridgeOptions(const moe::Environment& params) {
if (params.count("help")) {
printMongoBridgeHelp(&std::cout);
- return true;
+ return false;
}
- return false;
+ return true;
}
Status storeMongoBridgeOptions(const moe::Environment& params,