Exemplo n.º 1
0
 MONGO_STARTUP_OPTIONS_STORE(MongoStatOptions)(InitializerContext* context) {
     Status ret = storeMongoStatOptions(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(MongoStatOptions)(InitializerContext* context) {
     return storeMongoStatOptions(moe::startupOptionsParsed, context->args());
 }