michael-o commented on a change in pull request #153: [MNG-6069] Migrate to non deprecated parts of Commons CLI URL: https://github.com/apache/maven/pull/153#discussion_r245520451
########## File path: maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java ########## @@ -167,7 +170,7 @@ public void displayHelp( PrintStream stdout ) HelpFormatter formatter = new HelpFormatter(); - formatter.printHelp( pw, HelpFormatter.DEFAULT_WIDTH, "mvn [options] [<goal(s)>] [<phase(s)>]", "\nOptions:", + formatter.printHelp( pw, 120, "mvn [options] [<goal(s)>] [<phase(s)>]", "\nOptions:", Review comment: I think we should replace those `\n` with `System.lineSeparator()`. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services