Skip to content
Snippets Groups Projects
Commit 36b32d24 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 7cad29f7
No related merge requests found
......@@ -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
......
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