mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: juggle some advanced/non-advanced options (foamToVTK, foamToEnsight)
This commit is contained in:
@ -132,6 +132,11 @@ int main(int argc, char *argv[])
|
|||||||
" the internalMesh and for each patch."
|
" the internalMesh and for each patch."
|
||||||
);
|
);
|
||||||
timeSelector::addOptions();
|
timeSelector::addOptions();
|
||||||
|
|
||||||
|
// Less frequently used - reduce some clutter
|
||||||
|
argList::setAdvanced("decomposeParDict");
|
||||||
|
argList::setAdvanced("noFunctionObjects");
|
||||||
|
|
||||||
#include "addRegionOption.H"
|
#include "addRegionOption.H"
|
||||||
|
|
||||||
argList::addBoolOption
|
argList::addBoolOption
|
||||||
|
|||||||
@ -254,7 +254,8 @@ int main(int argc, char *argv[])
|
|||||||
);
|
);
|
||||||
timeSelector::addOptions();
|
timeSelector::addOptions();
|
||||||
|
|
||||||
// Infrequently needed, mark as advanced.
|
// Less frequently used - reduce some clutter
|
||||||
|
argList::setAdvanced("decomposeParDict");
|
||||||
argList::setAdvanced("noFunctionObjects");
|
argList::setAdvanced("noFunctionObjects");
|
||||||
|
|
||||||
argList::addBoolOption
|
argList::addBoolOption
|
||||||
@ -373,8 +374,7 @@ int main(int argc, char *argv[])
|
|||||||
argList::addBoolOption
|
argList::addBoolOption
|
||||||
(
|
(
|
||||||
"one-boundary", // allPatches
|
"one-boundary", // allPatches
|
||||||
"Combine all patches into a single file",
|
"Combine all patches into a single file"
|
||||||
true // mark as an advanced option
|
|
||||||
);
|
);
|
||||||
argList::addOptionCompat("one-boundary", {"allPatches", 1806});
|
argList::addOptionCompat("one-boundary", {"allPatches", 1806});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user