add text wrapping to the argList::printUsage output

This commit is contained in:
Mark Olesen
2009-12-03 16:16:56 +01:00
parent 67b79d9206
commit 587401643c
3 changed files with 97 additions and 36 deletions

View File

@ -41,8 +41,18 @@ using namespace Foam;
int main(int argc, char *argv[])
{
argList::noParallel();
argList::addBoolOption("new");
argList::addBoolOption("old");
argList::addBoolOption
(
"new",
"output switches that are known from the libraries "
"but that do not seem to be known in the current etc/controlDict"
);
argList::addBoolOption
(
"old",
"output switches that appear to be unknown in "
"the current etc/controlDict"
);
argList args(argc, argv);