add some usage information to a few utilities

This commit is contained in:
Mark Olesen
2009-12-04 10:20:15 +01:00
parent ebf94bfc74
commit 0e33bf0bba
7 changed files with 118 additions and 29 deletions

View File

@ -93,10 +93,23 @@ bool inFileNameList
int main(int argc, char *argv[])
{
argList::addBoolOption("ascii");
argList::addBoolOption("noPatches");
argList::addOption("patches", "patchList");
argList::addBoolOption
(
"ascii",
"write in ASCII format instead of 'C Binary'"
);
argList::addBoolOption
(
"noPatches",
"Suppress writing any patches"
);
argList::addOption
(
"patches",
"patchList",
"Specify particular patches to write. "
"An empty list suppresses writing the internalMesh."
);
# include "addTimeOptions.H"
# include "setRootCase.H"

View File

@ -79,9 +79,24 @@ int main(int argc, char *argv[])
// afterwards anyhow
timeSelector::addOptions(true, false);
argList::noParallel();
argList::addBoolOption("ascii");
argList::addOption("index", "start");
argList::addBoolOption("noMesh");
argList::addBoolOption
(
"ascii",
"write in ASCII format instead of 'C Binary'"
);
argList::addOption
(
"index",
"start",
"ignore the time index contained in the uniform/time file "
"and use a simple indexing when creating the files"
);
argList::addBoolOption
(
"noMesh",
"Suppress writing the geometry. "
"Can be useful for converting partial results for a static geometry."
);
// the volume field types that we handle
wordHashSet volFieldTypes;