commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hainer, Neil" <>
Subject CLI : OptionBuilder method isRequired() Question
Date Fri, 27 Jun 2003 16:24:43 GMT

How can you implement isRequired() for some options but still allow a user to only enter the
option "-h" or "--help" if they want to find out what all the  parameters are of your application.
 Currently if I just enter the "-h" I get an ParseException exception because all the required
options have not been entered.  



Neil Hainer
Booz Allen & Hamilton
JIVA System Integration Project

View raw message