Fix typo, indentation and return in unknown-parameter situation.

This commit is contained in:
Atgeirr Flø Rasmussen 2019-06-25 10:10:58 +02:00
parent 43503cf7c6
commit bc07b688c5

View File

@ -236,7 +236,7 @@ namespace Opm
{
if ( output_cout_ )
{
std::string msg = "Aborting simulation due unknown "
std::string msg = "Aborting simulation due to unknown "
"parameters. Please query \"flow --help\" for "
"supported command line parameters.";
if (OpmLog::hasBackend("STREAMLOG"))
@ -251,7 +251,7 @@ namespace Opm
#if HAVE_MPI
MPI_Finalize();
#endif
exit(EXIT_FAILURE);
return EXIT_FAILURE;
}
runDiagnostics();
createSimulator();