commons-user mailing list archives

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

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?

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

View raw message