>From CLI official site http://commons.apache.org/cli/usage.html
>>>>>>>> expected result >>>>>>>>>>>> --block-size=SIZE use SIZE-byte blocks >>>>>>>>>>>> code >>>>>>>>>>>>>> Options.addOption( OptionBuilder.withLongOpt( "block-size" ) .withDescription( "use SIZE-byte blocks" ) .hasArg() .withArgName("SIZE") .create() ); >>>>>>>> real result >>>>>>>>>>>> --block-size SIZE use SIZE-byte blocks >>>>>>>> then, I've tried >>>>>>>>>>>> Options.addOption( OptionBuilder.withLongOpt( "block-size" ) .withDescription( "use SIZE-byte blocks" ) .hasArg()..withValueSeparator('=') .withArgName("SIZE") .create() ); >>>>>>>> but I still got this >>>>>>>>>>>> --block-size SIZE use SIZE-byte blocks Please help! TIA Leo --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org