You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2002/06/07 00:50:14 UTC

cvs commit: jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli Option.java

bayard      2002/06/06 15:50:14

  Modified:    cli/src/java/org/apache/commons/cli Option.java
  Log:
  Had introduced an error into the multiple values. Fixed.
  
  Revision  Changes    Path
  1.6       +6 -6      jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli/Option.java
  
  Index: Option.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli/Option.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Option.java	6 Jun 2002 22:32:37 -0000	1.5
  +++ Option.java	6 Jun 2002 22:50:14 -0000	1.6
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli/Option.java,v 1.5 2002/06/06 22:32:37 bayard Exp $
  - * $Revision: 1.5 $
  - * $Date: 2002/06/06 22:32:37 $
  + * $Header: /home/cvs/jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli/Option.java,v 1.6 2002/06/06 22:50:14 bayard Exp $
  + * $Revision: 1.6 $
  + * $Date: 2002/06/06 22:50:14 $
    *
    * ====================================================================
    *
  @@ -66,7 +66,7 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE file.
    * 
  - * $Id: Option.java,v 1.5 2002/06/06 22:32:37 bayard Exp $
  + * $Id: Option.java,v 1.6 2002/06/06 22:50:14 bayard Exp $
    */
   
   package org.apache.commons.cli;
  @@ -86,7 +86,7 @@
    *
    * @author bob mcwhirter (bob @ werken.com)
    * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
    */
   
   public class Option {
  @@ -166,7 +166,7 @@
        */
       public Option(char opt, String longOpt, boolean hasArg, String description, 
                     boolean required, boolean multipleArgs ) {
  -        this(opt, longOpt, hasArg, description, required, false, null );
  +        this(opt, longOpt, hasArg, description, required, multipleArgs, null );
       }
       public Option(char opt, String longOpt, boolean hasArg, String description, 
                     boolean required, boolean multipleArgs, Object type ) {
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>