Multiple arguments do not seem to be allowed when a
MultiArg instance is added via xorAdd.
Why I wanted this: I wanted to supply a set of values
to my application either via a file or via the command
line. So I set up a ValueArg for capturing a filename
and a MultiArg for capturing multiple values on the
command line, and because I only want one or the other,
I add them to the CmdLine instance via xorAdd.
But, if I try to supply more than one value via the
MultiArg on the command line, I get a Too Many
Arguments parse error.
Log in to post a comment.