commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janus Troelsen <>
Subject [cli] Commons CLI silently removes numbers from arguments
Date Thu, 15 Oct 2015 19:41:03 GMT

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:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message