commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From D Sledge <david.sle...@yahoo.com>
Subject [cli] Option Syntax and Trailing Args
Date Fri, 04 Jun 2010 22:35:08 GMT
So I'm using CLI 1.2, and for the life of me, I can't get CLI to print out an option as

  -c CFGFILE,--config=CFGFILE

I've tried using OptionBuilder.withValueSeparator() and OptionBuilder.withValueSeparator(
'=' ) and it's still being displayed as

  -c,--config <CFGFILE>

Also, when HelpFormatter prints out the usage, how do I get it to print out trailing arguments
such as:

  cmd [-c CFGFILE] arg1[, arg2[, ...]]

Thanks,

D



      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message