Hi Willie,
public static void main(String[] args) {
Options options = new Options();
Option run = OptionBuilder.hasArg()
.withArgName("files")
.withValueSeparator()
.withDescription("Run a process")
.create("run");
//NOTE: How can I change the above to get desired outcome???
Change hasArg() to hasArgs() and that should do the trick. You should
loga bug in bugzilla against the documentation so I will pick up on it at a later
stage.
Thanks,
-John K
- - - - - - - - - - - - - - - - - - - - - - -
Jakarta Commons CLI
http://jakarta.apache.org/commons/cli
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
