fix output problem on -e -f options

This commit is contained in:
Peter Hormanns 2016-09-23 12:29:02 +02:00
parent 0a24cdb088
commit 73c6e6d1e2
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>hsadmin-cli</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
<packaging>jar</packaging>
<name>HSAdmin-Cli</name>

View File

@ -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()) {