From 73c6e6d1e243e7ca53153a9259d34a43fa291429 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Fri, 23 Sep 2016 12:29:02 +0200 Subject: [PATCH] fix output problem on -e -f options --- cli/pom.xml | 2 +- cli/src/main/java/de/hsadmin/jscli/Main.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/pom.xml b/cli/pom.xml index 5c02e45..6eee3b8 100644 --- a/cli/pom.xml +++ b/cli/pom.xml @@ -8,7 +8,7 @@ 1.0-SNAPSHOT hsadmin-cli - 1.0.2 + 1.0.3 jar HSAdmin-Cli diff --git a/cli/src/main/java/de/hsadmin/jscli/Main.java b/cli/src/main/java/de/hsadmin/jscli/Main.java index f07b824..c912293 100644 --- a/cli/src/main/java/de/hsadmin/jscli/Main.java +++ b/cli/src/main/java/de/hsadmin/jscli/Main.java @@ -28,7 +28,7 @@ public class Main { scriptClient.execute(new InputStreamReader(System.in)); final String[] lines = formatter.format(scriptClient.getLastRpcResult()).split("\n"); for (String ll : lines) { - console.println(ll); + System.out.println(ll); } } else { BufferedReader bufferedReader = null; @@ -63,7 +63,7 @@ public class Main { scriptClient.execute(expr); final String[] lines = formatter.format(scriptClient.getLastRpcResult()).split("\n"); for (String ll : lines) { - console.println(ll); + System.out.println(ll); } } if (cmdParser.isInteractive()) {