Skip to content
Snippets Groups Projects
Commit 8a3faf0e authored by Tom Fischer's avatar Tom Fischer
Browse files

[A/U/ME] Describe possible command line arg. values.

parent ff2635b7
No related branches found
No related tags found
No related merge requests found
......@@ -103,8 +103,15 @@ int main (int argc, char* argv[])
// Non-bounding-box params
TCLAP::SwitchArg zveArg("z", "zero-volume", "remove zero volume elements", false);
cmd.add(zveArg);
TCLAP::MultiArg<std::string> eleTypeArg("t", "element-type",
"element type to be removed", false, "element type");
std::vector<std::string> allowed_ele_types{"line", "tri", "quad", "hex",
"prism", "tet", "pyramid"};
TCLAP::ValuesConstraint<std::string> allowedVals{allowed_ele_types};
TCLAP::MultiArg<std::string> eleTypeArg(
"t", "element-type",
"element type to be removed: line | tri | quad | hex | prism | tet | "
"pyramid",
false, &allowedVals);
cmd.add(eleTypeArg);
// scalar array params
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment