RESP3: redis-cli support for boolean in TTY output.

This commit is contained in:
antirez committed 2019-01-09 17:00:30 +01:00
1 parent dfa9d2c74c
commit 7d4b600f5d
1 file changed
+3
+3
View File
@@ -822,6 +822,9 @@ static sds cliFormatReplyTTY(redisReply *r, char *prefix) {
case REDIS_REPLY_NIL:
out = sdscat(out,"(nil)\n");
break;
case REDIS_REPLY_BOOL:
out = sdscat(out,r->integer ? "(true)\n" : "(false)\n");
break;
case REDIS_REPLY_ARRAY:
case REDIS_REPLY_MAP:
case REDIS_REPLY_SET: