commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r667573 - /commons/proper/cli/trunk/xdocs/usage.xml
Date Fri, 13 Jun 2008 15:43:59 GMT
Author: ebourg
Date: Fri Jun 13 08:43:58 2008
New Revision: 667573

URL: http://svn.apache.org/viewvc?rev=667573&view=rev
Log:
Changed the documentation for Java property like options to use hasArgs(2) instead of hasArgs()
(CLI-154)

Modified:
    commons/proper/cli/trunk/xdocs/usage.xml

Modified: commons/proper/cli/trunk/xdocs/usage.xml
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/xdocs/usage.xml?rev=667573&r1=667572&r2=667573&view=diff
==============================================================================
--- commons/proper/cli/trunk/xdocs/usage.xml (original)
+++ commons/proper/cli/trunk/xdocs/usage.xml Fri Jun 13 08:43:58 2008
@@ -200,7 +200,7 @@
           using the OptionBuilder.
         </p>
         <source>Option property  = OptionBuilder.withArgName( "property=value" )
-                                .hasArgs()
+                                .hasArgs(2)
                                 .withValueSeparator()
                                 .withDescription( "use value for given property" )
                                 .create( "D" );</source>



Mime
View raw message