mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix typo, indentation and return in unknown-parameter situation.
This commit is contained in:
parent
43503cf7c6
commit
bc07b688c5
@ -236,7 +236,7 @@ namespace Opm
|
|||||||
{
|
{
|
||||||
if ( output_cout_ )
|
if ( output_cout_ )
|
||||||
{
|
{
|
||||||
std::string msg = "Aborting simulation due unknown "
|
std::string msg = "Aborting simulation due to unknown "
|
||||||
"parameters. Please query \"flow --help\" for "
|
"parameters. Please query \"flow --help\" for "
|
||||||
"supported command line parameters.";
|
"supported command line parameters.";
|
||||||
if (OpmLog::hasBackend("STREAMLOG"))
|
if (OpmLog::hasBackend("STREAMLOG"))
|
||||||
@ -244,14 +244,14 @@ namespace Opm
|
|||||||
OpmLog::error(msg);
|
OpmLog::error(msg);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
std::cerr << msg << std::endl;
|
std::cerr << msg << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAVE_MPI
|
#if HAVE_MPI
|
||||||
MPI_Finalize();
|
MPI_Finalize();
|
||||||
#endif
|
#endif
|
||||||
exit(EXIT_FAILURE);
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
runDiagnostics();
|
runDiagnostics();
|
||||||
createSimulator();
|
createSimulator();
|
||||||
|
Loading…
Reference in New Issue
Block a user