Skip to content

Commit 8354d3b

Browse files
author
Robert James Oxspring
committed
Corrected CLI1 usage mistakes
Submitted by: Liu yehui Issue: 35191 git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk@179922 13f79535-47bb-0310-9956-ffa450edef68
1 parent b75b00a commit 8354d3b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

xdocs/usage.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Option emacs = new Option( "emacs",
166166
<source>Option logfile = OptionBuilder.withArgName( "file" )
167167
.hasArg()
168168
.withDescription( "use given file for log" )
169-
.create( "file" );
169+
.create( "logfile" );
170170

171171
Option logger = OptionBuilder.withArgName( "classname" )
172172
.hasArg()
@@ -189,7 +189,7 @@ Option find = OptionBuilder.withArgName( "file" )
189189
.hasArg()
190190
.withDescription( "search for buildfile towards the "
191191
+ "root of the filesystem and use it" )
192-
.create( "file" );</source>
192+
.create( "find" );</source>
193193
</subsection>
194194
<subsection name="Java Property Option">
195195
<p>

0 commit comments

Comments
 (0)