You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ba...@apache.org on 2008/05/08 08:59:48 UTC
svn commit: r654432 - /commons/proper/cli/trunk/xdocs/usage.xml
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">