You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by su...@apache.org on 2002/01/17 18:26:35 UTC

cvs commit: apr/include apr_getopt.h

sussman     02/01/17 09:26:35

  Modified:    include  apr_getopt.h
  Log:
  Small change that will allow Subversion to better document its
  command-line switches.  Shouldn't break any existing users of this
  structure.  Reviewed by Greg Stein <gs...@lyra.org>
  
  * apr_getopt.h (apr_getopt_option_t):  add a new 'description' field
    to the end of the structure.
  
  Revision  Changes    Path
  1.36      +2 -0      apr/include/apr_getopt.h
  
  Index: apr_getopt.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_getopt.h,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- apr_getopt.h	29 Nov 2001 06:45:34 -0000	1.35
  +++ apr_getopt.h	17 Jan 2002 17:26:35 -0000	1.36
  @@ -116,6 +116,8 @@
       int optch;
       /** nonzero if option takes an argument */
       int has_arg;
  +    /** a description of the option */
  +    const char *description;
   };
   
   /**