sebb        2005/02/20 15:52:40

  Modified:    src/jorphan/org/apache/commons/cli/avalon Tag: rel-2_0
                        CLArgsParser.java
  Log:
  Fix bug where second arg could not contain "-"
  Still need to fix following bug:
  -D a=b gives parse error instead of being same as -Da=b
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.3   +3 -3      
jakarta-jmeter/src/jorphan/org/apache/commons/cli/avalon/Attic/CLArgsParser.java
  
  Index: CLArgsParser.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/jorphan/org/apache/commons/cli/avalon/Attic/CLArgsParser.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- CLArgsParser.java 20 Feb 2005 15:56:12 -0000      1.1.2.2
  +++ CLArgsParser.java 20 Feb 2005 23:52:40 -0000      1.1.2.3
  @@ -52,8 +52,8 @@
       private static final int TOKEN_SEPARATOR = 0;
       private static final int TOKEN_STRING = 1;
   
  -    private static final char[] ARG2_SEPARATORS =
  -            new char[]{(char)0, '=', '-'};
  +    private static final char[] ARG2_SEPARATORS = // Used to find the end of 
the second argument
  +            new char[]{(char)0 };
   
       private static final char[] ARG_SEPARATORS =
               new char[]{(char)0, '='};
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to