Example #1
0
 Status handlePreValidationMongoStatOptions(const moe::Environment& params) {
     if (toolsParsedOptions.count("help")) {
         printMongoStatHelp(toolsOptions, &std::cout);
         ::_exit(0);
     }
     return Status::OK();
 }
Example #2
0
 bool handlePreValidationMongoStatOptions(const moe::Environment& params) {
     if (params.count("help")) {
         printMongoStatHelp(&std::cout);
         return true;
     }
     return false;
 }