RESP3: Use verbatim in INFO output.
This commit is contained in:
parent
238fd6546c
commit
bbc1faa9d6
@ -4391,7 +4391,9 @@ void infoCommand(client *c) {
|
|||||||
addReply(c,shared.syntaxerr);
|
addReply(c,shared.syntaxerr);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
addReplyBulkSds(c, genRedisInfoString(section));
|
sds info = genRedisInfoString(section);
|
||||||
|
addReplyVerbatim(c,info,sdslen(info),"txt");
|
||||||
|
sdsfree(info);
|
||||||
}
|
}
|
||||||
|
|
||||||
void monitorCommand(client *c) {
|
void monitorCommand(client *c) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user