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

cvs commit: jakarta-commons-sandbox/daemon/src/native/unix/native arguments.c

jfclere     02/03/13 15:09:49

  Modified:    daemon/src/native/unix/native arguments.c
  Log:
  Allow -remote option to be the only option.
  
  Revision  Changes    Path
  1.4       +2 -2      jakarta-commons-sandbox/daemon/src/native/unix/native/arguments.c
  
  Index: arguments.c
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/daemon/src/native/unix/native/arguments.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- arguments.c	9 Mar 2002 18:40:26 -0000	1.3
  +++ arguments.c	13 Mar 2002 23:09:48 -0000	1.4
  @@ -55,7 +55,7 @@
    *                                                                           *
    * ========================================================================= */
   
  -/* @version $Id: arguments.c,v 1.3 2002/03/09 18:40:26 jfclere Exp $ */
  +/* @version $Id: arguments.c,v 1.4 2002/03/13 23:09:48 jfclere Exp $ */
   #include "jsvc.h"
   
   /* Return the argument of a command line option */
  @@ -208,7 +208,7 @@
           }
       }
   
  -    if (args->clas==NULL) {
  +    if (args->clas==NULL && args->remove==false) {
           log_error("No class specified");
           return(NULL);
       }
  
  
  

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