From 45496afeaec094962de34f13798fef6bd6d8e815 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Tue, 14 Feb 2023 17:07:07 +0100 Subject: [PATCH] Make sure to print the completion script to the standard output stream (fix #785) (#791) --- .../main/java-mvnd/org/mvndaemon/mvnd/client/DefaultClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main/java-mvnd/org/mvndaemon/mvnd/client/DefaultClient.java b/client/src/main/java-mvnd/org/mvndaemon/mvnd/client/DefaultClient.java index d601de4be..8501ed638 100644 --- a/client/src/main/java-mvnd/org/mvndaemon/mvnd/client/DefaultClient.java +++ b/client/src/main/java-mvnd/org/mvndaemon/mvnd/client/DefaultClient.java @@ -220,7 +220,7 @@ public ExecutionResult execute(ClientOutput output, List argv) { final List args = new ArrayList<>(argv); final String completionShell = Environment.COMPLETION.removeCommandLineOption(args); if (completionShell != null) { - output.accept(Message.log(Completion.getCompletion(completionShell, parameters))); + output.accept(Message.out(Completion.getCompletion(completionShell, parameters))); return DefaultResult.success(argv); }