commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Roberts <>
Subject [cli2] Negative number arguments seen as options
Date Tue, 20 May 2008 21:12:18 GMT
I just discovered that an option that takes an argument can't provide a 
negative value, --value -2 is seen as option "value" followed by option 
"2".  This is true even if I use NumberValidator; I tried that thinking 
it might provide a hint to the parser.

259 roland> cd commons-cli-2.0
260 roland> svn up
At revision 658435.


		       PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD                             RL Enterprises                            6818 Madeline Court                           Brooklyn, NY 11220

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message