Пример #1
0
 bool handlePreValidationMongoRestoreOptions(const moe::Environment& params) {
     if (params.count("help")) {
         printMongoRestoreHelp(&std::cout);
         return true;
     }
     return false;
 }
Пример #2
0
 Status handlePreValidationMongoRestoreOptions(const moe::Environment& params) {
     if (toolsParsedOptions.count("help")) {
         printMongoRestoreHelp(toolsOptions, &std::cout);
         ::_exit(0);
     }
     return Status::OK();
 }