messageStream: Added support for suppressing the printing of log header

This generalizes and replaces the previous "noBanner" option provided by argList
and is extended to include the messages printed by Time.

Resolves bug-report https://bugs.openfoam.org/view.php?id=2782
This commit is contained in:
Henry Weller
2017-12-06 11:58:35 +00:00
parent e85eb48ba7
commit cc4d4433b8
10 changed files with 49 additions and 44 deletions

View File

@ -68,12 +68,13 @@ using namespace Foam;
int main(int argc, char *argv[])
{
writeInfoHeader = false;
argList::addNote
(
"information about surface meshes"
);
argList::noBanner();
argList::noParallel();
argList::validArgs.append("surface file");