brett       2004/05/10 00:01:21

  Modified:    src/java/org/apache/maven/cli Tag: MAVEN-1_0-BRANCH
                        CLIManager.java
  Log:
  PR: MAVEN-1248
  fix issue introduced by adding -P option. Seems like a CLI bug - we should upgrade 
to a release version!
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.12.4.7  +6 -6      maven/src/java/org/apache/maven/cli/CLIManager.java
  
  Index: CLIManager.java
  ===================================================================
  RCS file: /home/cvs/maven/src/java/org/apache/maven/cli/CLIManager.java,v
  retrieving revision 1.12.4.6
  retrieving revision 1.12.4.7
  diff -u -r1.12.4.6 -r1.12.4.7
  --- CLIManager.java   16 Apr 2004 07:00:35 -0000      1.12.4.6
  +++ CLIManager.java   10 May 2004 07:01:21 -0000      1.12.4.7
  @@ -100,12 +100,6 @@
                              .create( 'g' ) );
   
           options.addOption( OptionBuilder
  -                           .withLongOpt( "plugin-help" )
  -                           .withDescription( "Display help on using a given plugin" 
)
  -                           .hasOptionalArg()
  -                           .create( 'P' ) );
  -
  -        options.addOption( OptionBuilder
                              .withLongOpt( "usage" )
                              .withDescription( "Display help on using the current 
project" )
                              .create( 'u' ) );
  @@ -145,6 +139,12 @@
                              .withLongOpt( "debug" )
                              .withDescription( "Produce execution debug output" )
                              .create( 'X' ) );
  +
  +        options.addOption( OptionBuilder
  +                           .withLongOpt( "plugin-help" )
  +                           .withDescription( "Display help on using a given plugin" 
)
  +                           .hasOptionalArg()
  +                           .create( 'P' ) );
       }
   
       /** Parse a string-array of command-line arguments.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to