Compare commits
1 Commits
develop.me
...
issue-3065
| Author | SHA1 | Date | |
|---|---|---|---|
| fffffff98d |
@ -1082,6 +1082,9 @@ Foam::argList::argList
|
|||||||
<< " -help-full' for extended usage" << nl
|
<< " -help-full' for extended usage" << nl
|
||||||
<< nl;
|
<< nl;
|
||||||
|
|
||||||
|
args_.clear();
|
||||||
|
options_.clearStorage();
|
||||||
|
|
||||||
UPstream::exit(1); // works for serial and parallel
|
UPstream::exit(1); // works for serial and parallel
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1242,6 +1245,9 @@ void Foam::argList::parse
|
|||||||
|
|
||||||
if (quickExit)
|
if (quickExit)
|
||||||
{
|
{
|
||||||
|
args_.clear();
|
||||||
|
options_.clearStorage();
|
||||||
|
|
||||||
std::exit(0);
|
std::exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1252,6 +1258,9 @@ void Foam::argList::parse
|
|||||||
foamVersion::printBuildInfo(Info.stdStream(), false);
|
foamVersion::printBuildInfo(Info.stdStream(), false);
|
||||||
FatalError.write(Info, false);
|
FatalError.write(Info, false);
|
||||||
|
|
||||||
|
args_.clear();
|
||||||
|
options_.clearStorage();
|
||||||
|
|
||||||
UPstream::exit(1); // works for serial and parallel
|
UPstream::exit(1); // works for serial and parallel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user