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