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:
@ -26,7 +26,6 @@ Application
|
||||
|
||||
Description
|
||||
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "argList.H"
|
||||
@ -62,7 +61,8 @@ void printCleaning(fileName& pathName)
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
argList::noBanner();
|
||||
writeInfoHeader = false;
|
||||
|
||||
argList::noParallel();
|
||||
argList::validArgs.insert("fileName .. fileNameN");
|
||||
argList::addOption("istream", "file", "test Istream values");
|
||||
|
||||
Reference in New Issue
Block a user