MONGO_STARTUP_OPTIONS_STORE(MongoImportOptions)(InitializerContext* context) {
     Status ret = storeMongoImportOptions(moe::startupOptionsParsed, context->args());
     if (!ret.isOK()) {
         std::cerr << ret.toString() << std::endl;
         std::cerr << "try '" << context->args()[0] << " --help' for more information"
                   << std::endl;
         ::_exit(EXIT_BADOPTIONS);
     }
     return Status::OK();
 }
Ejemplo n.º 2
0
 MONGO_STARTUP_OPTIONS_STORE(MongoImportOptions)(InitializerContext* context) {
     return storeMongoImportOptions(toolsParsedOptions, context->args());
 }