Hello all I've recently discovered Commons CLI, which is pretty much exactly what I need. I do have one question about its use, though. My question is about the Ant example on the "Usage scenarios" page:
http://jakarta.apache.org/commons/cli/usage.html The example shows very clearly how to set up the options offered by Ant. However, I'm not quite sure how to access the remaining arguments, i.e. the targets that follow the options in: ant [options] [target [target2 [target3] ...]] My best bet so far is the String[] getArgs() method of the CommandLine class: "Retrieve any left-over non-recognized options and arguments" (quoted from the Javadoc) Is that the method I need or am I missing something? Regards, Morten Wittrock --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]