Skip to content

Commit 5f69123

Browse files
committed
Changed the documentation for Java property like options to use hasArgs(2) instead of hasArgs() (CLI-154)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@667573 13f79535-47bb-0310-9956-ffa450edef68
1 parent 538fb68 commit 5f69123

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xdocs/usage.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Option find = OptionBuilder.withArgName( "file" )
200200
using the OptionBuilder.
201201
</p>
202202
<source>Option property = OptionBuilder.withArgName( "property=value" )
203-
.hasArgs()
203+
.hasArgs(2)
204204
.withValueSeparator()
205205
.withDescription( "use value for given property" )
206206
.create( "D" );</source>

0 commit comments

Comments
 (0)