Hello Janus,

thank you for your report and the example repository. Feel free to create a
new JIRA ticket for the CLI component [1]. If you like, you can even
provide a fix either as a svn diff file for the CLI svn repository [2] or
as pull request for our github mirror [3]. Don't forget to add some unit
tests verifying your changes.

best regards,
Benedikt

[1] https://issues.apache.org/jira/browse/CLI
[2] https://svn.apache.org/repos/asf/commons/proper/cli/trunk
[3] https://github.com/apache/commons-cli

2015-10-15 21:41 GMT+02:00 Janus Troelsen <ysang...@gmail.com>:

> Hi,
>
> It seems that Commons CLI will silently remove numbers from long
> options like "--channel2" so that it becomes "--channel". But it still
> allows defining options like "channel2" without exceptions. This is
> unintuitive behaviour, as an argument meant for "channel2" will be
> received for "channel". If I supply arguments for both "channel" and
> "channel2", the one for "channel2" is simply silently ignored.
>
> Here is a project to test:
>
> https://github.com/ysangkok/cli-problem
>
> Regards,
> Janus
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
>
>


-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter

Reply via email to