[java] Using the provided output streams instead of the standard ones
@@ -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;
}
