diff --git a/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java b/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java index de17126ecf..5ffbba9985 100644 --- a/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java +++ b/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java @@ -483,7 +483,7 @@ public class MavenCli public CLIManager() { 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 ) ); options.addOption( OptionBuilder.withLongOpt( "offline" ).withDescription( "Work offline" ).create( OFFLINE ) );