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

@ -116,8 +116,8 @@ int main(int argc, char *argv[])
);
argList::noParallel();
argList::addArgument("OBJ file");
argList::addArgument("output VTK file");
argList::addArgument("obj-file", "The input obj line file");
argList::addArgument("vtk-file", "The output vtk file");
argList args(argc, argv);
const fileName objName = args[1];