diff --git a/src/redisx-cli.c b/src/redisx-cli.c index 3d00182..e5d680f 100644 --- a/src/redisx-cli.c +++ b/src/redisx-cli.c @@ -44,7 +44,7 @@ static void printRESP(const RESP *resp) { redisxPrintJSON(type, resp); } - if(format == FORMAT_RAW) redisxPrintDelimited(resp, delim, groupDelim); + else if(format == FORMAT_RAW) redisxPrintDelimited(resp, delim, groupDelim); else redisxPrintRESP(resp); }