fix output problem on -e -f options
This commit is contained in:
parent
0a24cdb088
commit
73c6e6d1e2
@ -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>
|
||||
|
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user