Skip to content

Commit

Permalink
Make sure to print the completion script to the standard output stream (
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Feb 14, 2023
1 parent 3508f0e commit 303fcc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public ExecutionResult execute(ClientOutput output, List<String> argv) {
final List<String> 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);
}

Expand Down

0 comments on commit 303fcc6

Please sign in to comment.