Commit a0692de3 authored by Henry Weller's avatar Henry Weller Committed by Andrew Heather
Browse files

argList: addition of fileHandler option moved to argList.C

Patch contributed by Timo Niemi, VTT.
Resolves bug-report https://bugs.openfoam.org/view.php?id=2645
parent c6954f09
......@@ -89,6 +89,13 @@ Foam::argList::initValidTables::initValidTables()
"do not execute functionObjects"
);
argList::addOption
(
"fileHandler",
"handler",
"override the fileHandler"
);
Pstream::addValidParOptions(validParOptions);
}
......
......@@ -43,22 +43,6 @@ namespace Foam
defineTypeNameAndDebug(fileOperation, 0);
defineRunTimeSelectionTable(fileOperation, word);
class addArgsOptions
{
public:
addArgsOptions()
{
argList::addOption
(
"fileHandler",
"handler",
"override the fileHandler"
);
}
};
addArgsOptions intObj;
word fileOperation::defaultFileHandler
(
debug::optimisationSwitches().lookupOrAddDefault
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment