Skip to content

Commit

Permalink
[java] Using the provided output streams instead of the standard ones
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed May 27, 2020
1 parent f97ab90 commit 52acbe9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ public Executable configure(PrintStream out, PrintStream err, String... args) {

switch (commander.getParsedCommand()) {
case "zsh":
outputZshCompletions(System.out);
outputZshCompletions(out);
break;

default:
System.err.println("Unrecognised shell: " + commander.getParsedCommand());
err.println("Unrecognised shell: " + commander.getParsedCommand());
System.exit(1);
break;
}
Expand Down

0 comments on commit 52acbe9

Please sign in to comment.