Author: ebourg
Date: Wed Jul 30 08:06:03 2008
New Revision: 681076
URL: http://svn.apache.org/viewvc?rev=681076&view=rev
Log:
Minor improvement to testLs() (added the arg name for block-size)
Modified:
commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/ApplicationTest.java
Modified:
commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/ApplicationTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/ApplicationTest.java?rev=681076&r1=681075&r2=681076&view=diff
==============================================================================
---
commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/ApplicationTest.java
(original)
+++
commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/ApplicationTest.java
Wed Jul 30 08:06:03 2008
@@ -45,8 +45,8 @@
options.addOption( "b", "escape", false, "print octal escapes for
nongraphic characters" );
options.addOption( OptionBuilder.withLongOpt( "block-size" )
.withDescription( "use SIZE-byte
blocks" )
- .withValueSeparator( '=' )
.hasArg()
+ .withArgName("SIZE")
.create() );
options.addOption( "B", "ignore-backups", false, "do not list implied
entried ending with ~");
options.addOption( "c", false, "with -lt: sort by, and show, ctime
(time of last modification of file status information) with -l:show ctime and
sort by name otherwise: sort by ctime" );