Skip to content

Commit 334ddc7

Browse files
author
Robert James Oxspring
committed
More doc corrections from Dennis
PR:30089 Submitted by: Dennis Lundberg git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk@130069 13f79535-47bb-0310-9956-ffa450edef68
1 parent 4e36254 commit 334ddc7

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

xdocs/introduction.xml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
<p>
3939
CLI uses the <a href="apidocs/org/apache/commons/cli/Options.html">
4040
Options</a> class, as a container for
41-
<a href="apidocs/org/apache/commons/cli/Options.html">
41+
<a href="apidocs/org/apache/commons/cli/Option.html">
4242
Option</a> instances. There are two ways to create
43-
<code>Option</code>s in CLI. One of them is via the constuctors,
43+
<code>Option</code>s in CLI. One of them is via the constructors,
4444
the other way is via the factory methods defined in
4545
<code>Options</code>.
4646
</p>
@@ -79,18 +79,14 @@
7979
<p>
8080
The interrogation stage is where the application querys the
8181
<code>CommandLine</code> to decide what execution branch to
82-
take depending on boolean options and to use the option values
82+
take depending on boolean options and uses the option values
8383
to provide the application data.
8484
</p>
8585
<p>
8686
This stage is implemented in the user code. The accessor methods
8787
on <code>CommandLine</code> provide the interrogation capability
8888
to the user code.
8989
</p>
90-
<p>
91-
The <a href="usage.html">Usage Scenarios</a> document provides examples
92-
how to create an <code>Options</code> object.
93-
</p>
9490
<p>
9591
The result of the interrogation stage is that the user code
9692
is fully informed of all the text that was supplied on the command

xdocs/properties.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
<section name="Option Properties">
2626
<p>
2727
The following are the properties that each
28-
<a href="apidocs/org/apache/commons/cli/Options.html">Option</a> has. All of these
28+
<a href="apidocs/org/apache/commons/cli/Option.html">Option</a> has. All of these
2929
can be set using the accessors or using the methods
30-
defined on the
30+
defined in the
3131
<a href="apidocs/org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a>.
3232
</p>
3333
<table>

0 commit comments

Comments
 (0)