michael-o commented on a change in pull request #605:
URL: https://github.com/apache/maven/pull/605#discussion_r780668180



##########
File path: maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java
##########
@@ -123,7 +123,7 @@ public CLIManager()
         options = new Options();
         options.addOption( Option.builder( Character.toString( HELP ) 
).longOpt( "help" ).desc( "Display help information" ).build() );
         options.addOption( Option.builder( Character.toString( 
ALTERNATE_POM_FILE ) ).longOpt( "file" ).hasArg().desc( "Force the use of an 
alternate POM file (or directory with pom.xml)" ).build() );
-        options.addOption( Option.builder( Character.toString( 
SET_SYSTEM_PROPERTY ) ).hasArg().desc( "Define a system property" ).build() );
+        options.addOption( Option.builder( Character.toString( 
SET_SYSTEM_PROPERTY ) ).numberOfArgs( 2 ).valueSeparator( '=' ).desc( "Define a 
system property" ).build() );

Review comment:
       Interesting, does the documentation really say 2?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to