diff options
author | yongman <yming0221@gmail.com> | 2018-12-04 17:36:42 +0800 |
---|---|---|
committer | yongman <yming0221@gmail.com> | 2018-12-04 17:36:42 +0800 |
commit | dfe81b33fe610ccdc205f5b5e49f94f8aa8fbefc (patch) | |
tree | 35e19dc00074b269fbdef476a7fdb796f010cea3 | |
parent | 46a51cdcdc0bd92473163068c2ec3bef4dffe63c (diff) | |
download | redis-dfe81b33fe610ccdc205f5b5e49f94f8aa8fbefc.tar.gz |
Fix cluster call reply format readable
-rw-r--r-- | src/redis-cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis-cli.c b/src/redis-cli.c index f307d31cf..c85358144 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -5404,7 +5404,7 @@ static int clusterManagerCommandCall(int argc, char **argv) { if (status != REDIS_OK || reply == NULL ) printf("%s:%d: Failed!\n", n->ip, n->port); else { - sds formatted_reply = cliFormatReplyTTY(reply, ""); + sds formatted_reply = cliFormatReplyRaw(reply); printf("%s:%d: %s\n", n->ip, n->port, (char *) formatted_reply); sdsfree(formatted_reply); } |