commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r654432 - /commons/proper/cli/trunk/xdocs/usage.xml
Date Thu, 08 May 2008 06:59:48 GMT
Author: bayard
Date: Wed May  7 23:59:48 2008
New Revision: 654432

URL: http://svn.apache.org/viewvc?rev=654432&view=rev
Log:
Fixing getValue to getOptionValue as per 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=654432&r1=654431&r2=654432&view=diff
==============================================================================
--- commons/proper/cli/trunk/xdocs/usage.xml (original)
+++ commons/proper/cli/trunk/xdocs/usage.xml Wed May  7 23:59:48 2008
@@ -260,12 +260,12 @@
         <p>
           To see if an option has been passed the <code>hasOption</code>
           method is used.  The argument value can be retrieved using
-          the <code>getValue</code> method.
+          the <code>getOptionValue</code> method.
         </p>
         <source>// has the buildfile argument been passed?
 if( line.hasOption( "buildfile" ) ) {
     // initialise the member variable
-    this.buildfile = line.getValue( "buildfile" );
+    this.buildfile = line.getOptionValue( "buildfile" );
 }</source>
       </subsection>
       <subsection name="Usage/Help">



Mime
View raw message