mirror of https://github.com/apache/maven.git
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:
parent
47cf3a81f4
commit
ba2f6ce87a
|
@ -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 ) );
|
||||
|
|
Loading…
Reference in New Issue