Skip to content

Commit 58139ae

Browse files
committed
Standardize on US English spelling (recognised -> recognized.)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1744812 13f79535-47bb-0310-9956-ffa450edef68
1 parent e7992d3 commit 58139ae

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/org/apache/commons/cli/CommandLine.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class CommandLine implements Serializable
4242
/** The serial version UID. */
4343
private static final long serialVersionUID = 1L;
4444

45-
/** the unrecognised options/arguments */
45+
/** the unrecognized options/arguments */
4646
private final List<String> args = new LinkedList<String>();
4747

4848
/** the processed options */
@@ -334,7 +334,7 @@ public String toString() {
334334
/**
335335
* Add left-over unrecognized option/argument.
336336
*
337-
* @param arg the unrecognised option/argument.
337+
* @param arg the unrecognized option/argument.
338338
*/
339339
protected void addArg(String arg)
340340
{

src/main/java/org/apache/commons/cli/Parser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ protected void processOption(String arg, ListIterator<String> iter) throws Parse
377377
{
378378
boolean hasOption = getOptions().hasOption(arg);
379379

380-
// if there is no option throw an UnrecognisedOptionException
380+
// if there is no option throw an UnrecognizedOptionException
381381
if (!hasOption)
382382
{
383383
throw new UnrecognizedOptionException("Unrecognized option: " + arg, arg);

0 commit comments

Comments
 (0)