From dfe81b33fe610ccdc205f5b5e49f94f8aa8fbefc Mon Sep 17 00:00:00 2001 From: yongman Date: Tue, 4 Dec 2018 17:36:42 +0800 Subject: [PATCH] Fix cluster call reply format readable --- src/redis-cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis-cli.c b/src/redis-cli.c index f307d31c..c8535814 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); }