mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
RESP3: redis-cli support for boolean in TTY output.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user