summaryrefslogtreecommitdiff
path: root/src/mongo/tools/mongoexport_options.h
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/mongoexport_options.h
parente8fe7befcf2f698f988e0ac80a5b48ac51e6f922 (diff)
downloadmongo-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.h5
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,