/[Apache-SVN]/jakarta/commons/proper/cli/trunk/src/java/org/apache/commons/cli2/commandline/Parser.java
ViewVC logotype

Diff of /jakarta/commons/proper/cli/trunk/src/java/org/apache/commons/cli2/commandline/Parser.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- jakarta/commons/proper/cli/trunk/src/java/org/apache/commons/cli2/commandline/Parser.java	2005/06/03 21:14:45	179891
+++ jakarta/commons/proper/cli/trunk/src/java/org/apache/commons/cli2/commandline/Parser.java	2005/06/03 21:15:13	179892
@@ -1,5 +1,5 @@
 /**
- * Copyright 2003-2004 The Apache Software Foundation
+ * Copyright 2003-2005 The Apache Software Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -63,7 +63,7 @@ public class Parser {
         group.defaults(commandLine);
 
         final ListIterator iterator = argumentList.listIterator();
-        while (group.canProcess(iterator)) {
+        while (group.canProcess(commandLine, iterator)) {
             group.process(commandLine, iterator);
         }
 

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26