diff options
author | Shaun Verch <shaun.verch@10gen.com> | 2013-10-24 11:24:19 -0400 |
---|---|---|
committer | Shaun Verch <shaun.verch@10gen.com> | 2013-10-24 11:25:24 -0400 |
commit | cfff07276553e9a4131a1699a9f58c3e6cb0b3b3 (patch) | |
tree | 8338cdc328e8dc8bbd9894d4055c38599c2f42d6 /src/mongo/tools/mongoexport_options.h | |
parent | e8fe7befcf2f698f988e0ac80a5b48ac51e6f922 (diff) | |
download | mongo-cfff07276553e9a4131a1699a9f58c3e6cb0b3b3.tar.gz |
SERVER-11144 Swap meaning of prevalidation return value and add comment
Diffstat (limited to 'src/mongo/tools/mongoexport_options.h')
-rw-r--r-- | src/mongo/tools/mongoexport_options.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/tools/mongoexport_options.h b/src/mongo/tools/mongoexport_options.h index d14d580a1f6..38343bd1f94 100644 --- a/src/mongo/tools/mongoexport_options.h +++ b/src/mongo/tools/mongoexport_options.h @@ -43,6 +43,11 @@ namespace mongo { void printMongoExportHelp(std::ostream* out); + /** + * Handle options that should come before validation, such as "help". + * + * Returns false if an option was found that implies we should prematurely exit with success. + */ bool handlePreValidationMongoExportOptions(const moe::Environment& params); Status storeMongoExportOptions(const moe::Environment& params, |