From: Ulf L. (P. Group) <ulf...@pt...> - 2020-07-29 14:59:03
|
Hi, Attached is a test program that I threw together to evaluate tclap for our needs. However, if I run the command line (checkd Windows only, I think, but this should not matter) TestProg.exe -r -s -s -s -i 42 -m 10.0 -m 2.0 blah Tclap returns an error. Apparently, the last word is not parsed correctly as a parameter. Adding a "--" TestProg.exe -r -s -s -s -i 42 -m 10.0 -m 2.0 -- blah makes the command line valid, but now "blah" is not parsed as a positional argument. The examples are a bit contrived due to me just playing around, but should probably be within reach of what tclap wants to offer. Regards, Ulf |