<div class="gmail_extra">I think this is something we should fix. I agree. Maybe you could take a look at it?<br><br>I would start by reproducing this with a Forge test case: <a href="https://github.com/forge/core/tree/master/shell/src/test/java/org/jboss/forge/shell/test/command">https://github.com/forge/core/tree/master/shell/src/test/java/org/jboss/forge/shell/test/command</a> (create a new test class, you can use that one as an example, and add your test scenario) Then once we have a test case reproducing the issue, it should be much easier to track it down and make sure that the use cases are working correctly.<br>
<br>Even if you just wanted to write the test cases, that would be a huge help. Just attach them to a new JIRA issue: <a href="https://issues.jboss.org/browse/FORGE">https://issues.jboss.org/browse/FORGE</a><br><br>Thanks so much!<br>
~Lincoln<br><br><div class="gmail_quote">On Mon, Apr 23, 2012 at 12:42 PM, 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"><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  --myarg &quot;a&quot;  &quot;b&quot; --myarg2 &quot;x&quot; --&gt; didn&#39;t  work</div><div>testcmd  --myarg2 &quot;x&quot; --myarg &quot;a&quot;  &quot;b&quot;  --&gt; should work</div><div><div class="h5">
<br><div><div>On 23.04.2012, at 18:10, Lincoln Baxter, III wrote:</div><br><blockquote type="cite"><div class="gmail_extra">Yes, but it must be the last option, as far as I know. (Otherwise it&#39;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&#39;t work: <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" target="_blank">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>&quot;Simpler is better.&quot;<br>
</div>
_______________________________________________<br>forge-dev mailing list<br><a href="mailto:forge-dev@lists.jboss.org" target="_blank">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>
</blockquote></div><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>&quot;Simpler is better.&quot;<br>
</div>