mthmulders commented on a change in pull request #605:
URL: https://github.com/apache/maven/pull/605#discussion_r780683794



##########
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:
       Thought about it... Given how much attention went into 
[CLI-312](https://issues.apache.org/jira/browse/CLI-312) from Commons side, I 
doubt it will be of use to file an issue. The only people that interacted on 
that ticket were you, Robert and me.




-- 
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