[forge-dev] Can I pass a String array to a named option?
Sandro Sonntag
sonntag at gmx.li
Mon Apr 23 12:42:51 EDT 2012
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 at 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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20120423/cd1ff49c/attachment.html
More information about the forge-dev
mailing list