commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Papendieck, Thomas" <Thomas.Papendi...@opitz-consulting.com>
Subject [cli] grouping required options
Date Tue, 29 Nov 2011 16:18:40 GMT
Hello,

my program has a sequence of required options ( o1, o2, o3) and alternative sequence (o4,
o5) .

I understand that I could put o1 and o4 in the same Option Group as well as o2 and o5 .

But how do I tell CLI when to complain for missing o3?

And in addition:
how do I tell cli not to check for any other option if "help" is passed?

bye
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message