mebos, flow: adapt to the eWoms changes in handling unknown parameters

for `flow`, there's no change compared to the current behavior, `ebos`
and its variants will complain when it encounters unused parameters.
This commit is contained in:
Andreas Lauser
2019-06-26 11:23:36 +02:00
parent 77e7a07756
commit 1bbf18d7c8
2 changed files with 16 additions and 4 deletions

View File

@@ -163,7 +163,7 @@ namespace Opm
EWOMS_END_PARAM_REGISTRATION(TypeTag);
// read in the command line parameters
int status = Ewoms::setupParameters_<TypeTag>(argc, const_cast<const char**>(argv), /*doRegistration=*/false);
int status = Ewoms::setupParameters_<TypeTag>(argc, const_cast<const char**>(argv), false, true, true);
if (status == 0) {
// deal with --print-properties and --print-parameters