commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roxspr...@apache.org
Subject cvs commit: jakarta-commons/cli/src/java/org/apache/commons/cli Parser.java
Date Mon, 27 Dec 2004 13:21:17 GMT
roxspring    2004/12/27 05:21:17

  Modified:    cli/src/java/org/apache/commons/cli Parser.java
  Log:
  Recommitted with the fix applied not commented out (whoops)
  PR: 25044
  
  Revision  Changes    Path
  1.17      +2 -3      jakarta-commons/cli/src/java/org/apache/commons/cli/Parser.java
  
  Index: Parser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/cli/src/java/org/apache/commons/cli/Parser.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- Parser.java	27 Dec 2004 13:11:39 -0000	1.16
  +++ Parser.java	27 Dec 2004 13:21:17 -0000	1.17
  @@ -320,8 +320,7 @@
               String str = (String) iter.next();
   
               // found an Option, not an argument
  -            //if (options.hasOption(str) && str.startsWith("-"))
  -            if (options.hasOption(str))
  +            if (options.hasOption(str) && str.startsWith("-"))
               {
                   iter.previous();
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message