maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-core/src/main/java/org/apache/maven/cli MavenCli.java
Date Thu, 07 Apr 2005 03:09:07 GMT
brett       2005/04/06 20:09:07

  Modified:    maven-core/src/main/java/org/apache/maven/cli MavenCli.java
  Log:
  clean up available command line options
  
  Revision  Changes    Path
  1.29      +4 -8      maven-components/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java
  
  Index: MavenCli.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- MavenCli.java	7 Apr 2005 03:06:18 -0000	1.28
  +++ MavenCli.java	7 Apr 2005 03:09:07 -0000	1.29
  @@ -294,8 +294,6 @@
   
       static class CLIManager
       {
  -        public static final char NO_BANNER = 'b';
  -
           public static final char SET_SYSTEM_PROPERTY = 'D';
   
           public static final char OFFLINE = 'o';
  @@ -308,7 +306,7 @@
   
           public static final char VERSION = 'v';
   
  -        public static final char LIST_GOALS = 'g';
  +//        public static final char LIST_GOALS = 'g';
   
           private Options options = null;
   
  @@ -319,14 +317,12 @@
           public CLIManager()
           {
               options = new Options();
  -            options.addOption( OptionBuilder.withLongOpt( "nobanner" ).withDescription(
"Suppress logo banner" ).create(
  -                NO_BANNER ) );
               options.addOption( OptionBuilder.withLongOpt( "define" ).hasArg().withDescription(
                   "Define a system property" ).create( SET_SYSTEM_PROPERTY ) );
               options.addOption( OptionBuilder.withLongOpt( "offline" ).withDescription(
"Work offline" ).create(
                   OFFLINE ) );
  -            options.addOption( OptionBuilder.withLongOpt( "mojoDescriptors" ).withDescription(
  -                "Display available mojoDescriptors" ).create( LIST_GOALS ) );
  +//            options.addOption( OptionBuilder.withLongOpt( "mojoDescriptors" ).withDescription(
  +//                "Display available mojoDescriptors" ).create( LIST_GOALS ) );
               options.addOption( OptionBuilder.withLongOpt( "help" ).withDescription( "Display
help information" ).create(
                   HELP ) );
               options.addOption( OptionBuilder.withLongOpt( "version" ).withDescription(
"Display version information" ).create(
  
  
  

Mime
View raw message