cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon Main.java
Date Sat, 24 Feb 2001 20:04:18 GMT
dims        01/02/24 12:04:18

  Modified:    src/org/apache/cocoon Tag: xml-cocoon2 Main.java
  Log:
  Cleaning up command line parameters.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.4.25  +9 -9      xml-cocoon/src/org/apache/cocoon/Attic/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Attic/Main.java,v
  retrieving revision 1.1.4.24
  retrieving revision 1.1.4.25
  diff -u -r1.1.4.24 -r1.1.4.25
  --- Main.java	2001/02/24 15:58:04	1.1.4.24
  +++ Main.java	2001/02/24 20:04:18	1.1.4.25
  @@ -49,7 +49,7 @@
    * Command line entry point.
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version CVS $Revision: 1.1.4.24 $ $Date: 2001/02/24 15:58:04 $
  + * @version CVS $Revision: 1.1.4.25 $ $Date: 2001/02/24 20:04:18 $
    */
   
   public class Main {
  @@ -67,35 +67,35 @@
   
       protected static final CLOptionDescriptor [] options = new CLOptionDescriptor [] {
           new CLOptionDescriptor("help",
  -                               CLOptionDescriptor.ARGUMENT_OPTIONAL,
  +                               CLOptionDescriptor.ARGUMENT_DISALLOWED,
                                  HELP_OPT,
                                  "print this message and exit"),
           new CLOptionDescriptor("version",
  -                               CLOptionDescriptor.ARGUMENT_OPTIONAL,
  +                               CLOptionDescriptor.ARGUMENT_DISALLOWED,
                                  VERSION_OPT,
                                  "print the version information and exit"),
           new CLOptionDescriptor("logUrl",
  -                               CLOptionDescriptor.ARGUMENT_OPTIONAL,
  +                               CLOptionDescriptor.ARGUMENT_REQUIRED,
                                  LOG_URL_OPT,
                                  "use given file for log"),
           new CLOptionDescriptor("logLevel",
  -                               CLOptionDescriptor.ARGUMENT_OPTIONAL,
  +                               CLOptionDescriptor.ARGUMENT_REQUIRED,
                                  LOG_LEVEL_OPT,
                                  "choose the minimum log level for logging (DEBUG, INFO,
WARN, ERROR, FATAL_ERROR)"),
           new CLOptionDescriptor("contextDir",
  -                               CLOptionDescriptor.ARGUMENT_OPTIONAL,
  +                               CLOptionDescriptor.ARGUMENT_REQUIRED,
                                  CONTEXT_DIR_OPT,
                                  "use given dir as context"),
           new CLOptionDescriptor("destDir",
  -                               CLOptionDescriptor.ARGUMENT_OPTIONAL,
  +                               CLOptionDescriptor.ARGUMENT_REQUIRED,
                                  DEST_DIR_OPT,
                                  "use given dir as destination"),
           new CLOptionDescriptor("workDir",
  -                               CLOptionDescriptor.ARGUMENT_OPTIONAL,
  +                               CLOptionDescriptor.ARGUMENT_REQUIRED,
                                  WORK_DIR_OPT,
                                  "use given dir as working directory"),
           new CLOptionDescriptor("xspOnly",
  -                               CLOptionDescriptor.ARGUMENT_OPTIONAL,
  +                               CLOptionDescriptor.ARGUMENT_DISALLOWED,
                                  XSP_OPT,
                                  "generate java code for xsp files")
       };
  
  
  

Mime
View raw message