mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: default jobControl now under the '~/.OpenFOAM/jobControl' directory
- this implies that jobControl is a user-resource for OpenFOAM. It was previously located under $WM_PROJECT_INST_DIR/jobControl, but few users will have write access there. - an unset FOAM_JOB_DIR variable is treated as "~/.OpenFOAM/jobControl", which can partially reduce environment clutter. - provide argList::noJobInfo() to conveniently suppress job-info on an individual basis for short-running utilities (eg, foamListTimes) to avoid unneeded clutter.
This commit is contained in:
@ -241,6 +241,7 @@ int main(int argc, char *argv[])
|
||||
argList::addNote("manipulates dictionaries");
|
||||
|
||||
argList::noBanner();
|
||||
argList::noJobInfo();
|
||||
argList::validArgs.append("dictionary");
|
||||
argList::addBoolOption("keywords", "list keywords");
|
||||
argList::addOption("entry", "name", "report/select the named entry");
|
||||
|
||||
@ -59,6 +59,7 @@ int main(int argc, char *argv[])
|
||||
timeSelector::addOptions(true, true);
|
||||
argList::noBanner();
|
||||
argList::noParallel();
|
||||
argList::noJobInfo();
|
||||
argList::addBoolOption
|
||||
(
|
||||
"processor",
|
||||
|
||||
Reference in New Issue
Block a user