ENH: support usage descriptions for command arguments

This commit is contained in:
Mark Olesen
2018-12-12 11:58:56 +01:00
parent c3b6c787a7
commit f38190213c
49 changed files with 256 additions and 110 deletions

View File

@ -1509,14 +1509,18 @@ int main(int argc, char *argv[])
{
argList::addNote
(
"Generates the extendedFeatureEdgeMesh for the interface between"
"Generates the extendedFeatureEdgeMesh for the interface created by"
" a boolean operation on two surfaces."
);
argList::noParallel();
argList::addArgument("action");
argList::addArgument("surfaceFile1");
argList::addArgument("surfaceFile2");
argList::addArgument
(
"action",
"One of (intersection | union | difference)"
);
argList::addArgument("surface1", "The input surface file 1");
argList::addArgument("surface2", "The input surface file 2");
argList::addOption
(
@ -1560,12 +1564,6 @@ int main(int argc, char *argv[])
" 'mixed' (keep all)"
);
argList::addNote
(
"Valid actions: \"intersection\", \"union\", \"difference\""
);
#include "setRootCase.H"
#include "createTime.H"