Browse Source

fixed settings handling: stop on unrecoverable error

tempestpy_adaptions
gereon 12 years ago
parent
commit
b8a6a01a11
  1. 2
      src/mrmc.cpp

2
src/mrmc.cpp

@ -100,7 +100,7 @@ bool parseOptions(const int argc, const char* argv[]) {
std::cout << "Could not recover from settings error: " << e.what() << "." << std::endl; std::cout << "Could not recover from settings error: " << e.what() << "." << std::endl;
std::cout << std::endl << mrmc::settings::help; std::cout << std::endl << mrmc::settings::help;
delete s; delete s;
return 1;
return false;
} }
if (s->isSet("help")) { if (s->isSet("help")) {

Loading…
Cancel
Save