mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
flow: do not mention unused parameters in the help message
while they do no longer appear in the help message, in the code they are still there and can be specified and used as normal. also, this patch makes --print-parameters=1 and --print-properties=1 work.
This commit is contained in:
@@ -115,7 +115,10 @@ int main(int argc, char** argv)
|
||||
typedef TTAG(FlowEarlyBird) PreTypeTag;
|
||||
int status = Opm::FlowMainEbos<PreTypeTag>::setupParameters_(argc, argv);
|
||||
if (status != 0)
|
||||
return status;
|
||||
// if setupParameters_ returns a value smaller than 0, there was no error, but
|
||||
// the program should abort. This is the case e.g. for the --help and the
|
||||
// --print-properties parameters.
|
||||
return (status >= 0)?status:0;
|
||||
|
||||
bool outputCout = false;
|
||||
if (mpiRank == 0)
|
||||
|
||||
Reference in New Issue
Block a user