OptionArray termination

Jul 18 at 1:46 PM
I wanted to use OptionArray with a command line that also takes parameters. In Unix, the multiple options could be terminated by --, e.g.:

--multioption a b c -- parameter parameter parameter

I am not able to get this to work with version 1.9.71 of CommandLineParser. Am I misunderstanding this?

Also, on related note, is there any way of getting some detail from the parser about what position in the command line caused it to fail parsing?