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

This commit is contained in:
antirez 2018-12-10 17:11:42 +01:00
parent dfa9d2c74c
commit 7d4b600f5d

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: