clean up available command line options

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163825 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-04-07 03:09:07 +00:00
parent 27b9286a40
commit feed140e1f
1 changed files with 3 additions and 7 deletions

View File

@ -294,8 +294,6 @@ public class MavenCli
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 class MavenCli
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 class MavenCli
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(