MONGO_STARTUP_OPTIONS_STORE(MongoOplogOptions)(InitializerContext* context) {
     Status ret = storeMongoOplogOptions(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();
 }
Exemplo n.º 2
0
 MONGO_STARTUP_OPTIONS_STORE(MongoOplogOptions)(InitializerContext* context) {
     return storeMongoOplogOptions(toolsParsedOptions, context->args());
 }