mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: support usage descriptions for command arguments
This commit is contained in:
@ -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];
|
||||
|
||||
Reference in New Issue
Block a user