allow multiple system properties to be specified

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177938 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-05-23 07:18:16 +00:00
parent a0c25d06fb
commit 6f74c90590
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ public class MavenCli
public CLIManager() public CLIManager()
{ {
options = new Options(); options = new Options();
options.addOption( OptionBuilder.withLongOpt( "define" ).hasArg().withDescription( options.addOption( OptionBuilder.withLongOpt( "define" ).hasArgs().withDescription(
"Define a system property" ).create( SET_SYSTEM_PROPERTY ) ); "Define a system property" ).create( SET_SYSTEM_PROPERTY ) );
options.addOption( OptionBuilder.withLongOpt( "offline" ).withDescription( "Work offline" ).create( options.addOption( OptionBuilder.withLongOpt( "offline" ).withDescription( "Work offline" ).create(
OFFLINE ) ); OFFLINE ) );