But I think a user is confused, if he has to know that the option have to be the last option, if he want to put more than one value.

e.g.:

testcmd  --myarg "a"  "b" --myarg2 "x" --> didn't  work
testcmd  --myarg2 "x" --myarg "a"  "b"  --> should work

On 23.04.2012, at 18:10, Lincoln Baxter, III wrote:

Yes, but it must be the last option, as far as I know. (Otherwise it's a bug.) This could certainly be improved!

On Mon, Apr 23, 2012 at 7:51 AM, Sandro Sonntag <sonntag@gmx.li> wrote:
Hi *,

can I pass a array of strings to a named option?

This is my test, that didn't work: https://gist.github.com/2469460
Whats wrong?

Greetings Sandro



_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev




--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev