You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by re...@apache.org on 2002/02/19 04:38:12 UTC

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

remm        02/02/18 19:38:12

  Modified:    daemon/src/native/unix/native arguments.c
  Log:
  - Add the GNU --help command line option.
  
  Revision  Changes    Path
  1.2       +3 -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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- arguments.c	18 Feb 2002 21:15:41 -0000	1.1
  +++ arguments.c	19 Feb 2002 03:38:12 -0000	1.2
  @@ -55,7 +55,7 @@
    *                                                                           *
    * ========================================================================= */
   
  -/* @version $Id: arguments.c,v 1.1 2002/02/18 21:15:41 remm Exp $ */
  +/* @version $Id: arguments.c,v 1.2 2002/02/19 03:38:12 remm Exp $ */
   #include "jsvc.h"
   
   /* Return the argument of a command line option */
  @@ -137,7 +137,8 @@
               args->vers=true;
               args->dtch=false;
   
  -        } else if ((strcmp(argv[x],"-?")==0)||(strcmp(argv[x],"-help")==0)) {
  +        } else if ((strcmp(argv[x],"-?")==0)||(strcmp(argv[x],"-help")==0)
  +                   ||(strcmp(argv[x],"--help")==0)) {
               args->help=true;
               args->dtch=false;
               return(args);
  
  
  

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