<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>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.</div><div><br></div><div>e.g.:</div><div><br></div><div>testcmd &nbsp;--myarg "a" &nbsp;"b" --myarg2 "x" --&gt; didn't &nbsp;work</div><div>testcmd &nbsp;--myarg2 "x"&nbsp;--myarg "a" &nbsp;"b" &nbsp;--&gt; should work</div><br><div><div>On 23.04.2012, at 18:10, Lincoln Baxter, III wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_extra">Yes, but it must be the last option, as far as I know. (Otherwise it's a bug.) This could certainly be improved! <br><br><div class="gmail_quote">On Mon, Apr 23, 2012 at 7:51 AM, Sandro Sonntag <span dir="ltr">&lt;<a href="mailto:sonntag@gmx.li" target="_blank">sonntag@gmx.li</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi *,<div><br></div><div>can I pass a array of strings to a named option?</div><div><br>
</div><div>This is my test, that didn't work:&nbsp;<span style="color:rgb(119,119,119);font-family:Monaco;font-size:14px"><a href="https://gist.github.com/2469460" target="_blank">https://gist.github.com/2469460</a></span></div>
<div>Whats wrong?</div><div><br></div><div>Greetings Sandro</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 14px/normal Monaco"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 14px/normal Monaco">
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 14px/normal Monaco"><br></div></div></div><br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org/" target="_blank">http://ocpsoft.org</a><br>"Simpler is better."<br>
</div>
_______________________________________________<br>forge-dev mailing list<br><a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/forge-dev<br></blockquote></div><br></body></html>