hasArgs was the culprit

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178058 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-05-24 00:46:54 +00:00
parent 47cf3a81f4
commit ba2f6ce87a
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ public class MavenCli
public CLIManager()
{
options = new Options();
options.addOption( OptionBuilder.withLongOpt( "define" ).hasArgs().withDescription(
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 ) );