Use argList::addOption, argList::addBoolOption (almost) everywhere

- ensure that the standard options (eg, from timeSelector) also have
  some usage information
This commit is contained in:
Mark Olesen
2009-12-03 13:32:12 +01:00
parent ca7acea5f4
commit 58b7e64185
93 changed files with 369 additions and 287 deletions

View File

@ -51,8 +51,8 @@ int main(int argc, char *argv[])
{
argList::validArgs.append("output file");
# include "addRegionOption.H"
argList::validOptions.insert("excludeProcPatches", "");
argList::validOptions.insert("patches", "(patch0 .. patchN)");
argList::addBoolOption("excludeProcPatches");
argList::addOption("patches", "(patch0 .. patchN)");
# include "setRootCase.H"
# include "createTime.H"