gnodet commented on code in PR #1798:
URL: https://github.com/apache/maven/pull/1798#discussion_r1801389897


##########
maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java:
##########
@@ -413,6 +413,7 @@ protected void helpOrVersionAndMayExit(C context) throws 
Exception {
             } else {
                 
context.terminal.writer().println(CLIReportingUtils.showVersion());
             }
+            context.terminal.writer().flush();

Review Comment:
   I would add a flush after displaying the help, just so that we don't rely on 
`displayHelp` to call `flush`...



-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to