Hello.
[With official release 1.2]
I'd like to call a commmand "cmd" as follows:
$ cmd --foo a --foo b --foo c cmdArg1 cmdArg2
There can be any number of arguments to the option "--foo". When I try,
the parser ("GnuParser") considers the "cmdArg1" and "cmdArg2" arguments as
arguments to the "--foo" option.
This is so even with the "stopAtNonOption" flag set to true.
When I try
$ cmd --foo 'a b c' cmdArg1 cmdArg2
I don't get 3 separate option arguments "a", "b", "c", but a single string
"a b c".
Best regards,
Gilles
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]