THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The Usage Scenarios documentation shows the PosixParser being used for the Ant example. This won't work. Either the BasicParser or GnuParser should be used for this example.
Wiki Markup |
---|
The \[http://jakarta.apache.org/commons/cli/usage.html Usage Scenarios\] documentation gives an API usage example for the Ant *logfile* option of: |
Option logfile = OptionBuilder.withArgName( "file" )
BR
No Format |
---|
.hasArg() |
No Format |
---|
.withDescription( "use given file for log" ) |
No Format |
---|
.create( " |
file" );
This should instead be:
Option logfile = OptionBuilder.withArgName( "file" )
BR
No Format |
---|
.hasArg() |
No Format |
---|
.withDescription( "use given file for log" ) |
No Format |
---|
.create( " |
logfile" );