Commit 6b675b95 authored by Itamar Haber's avatar Itamar Haber
Browse files

Applies addReplySubSyntaxError to stream commands

parent e654b68d
......@@ -1634,7 +1634,7 @@ NULL
} else if (!strcasecmp(opt,"HELP")) {
addReplyHelp(c, help);
} else {
addReply(c,shared.syntaxerr);
addReplySubSyntaxError(c);
}
}
......@@ -2261,7 +2261,7 @@ NULL
STREAM_RWR_RAWENTRIES,NULL);
if (!count) addReply(c,shared.nullbulk);
} else {
addReplyError(c,"syntax error, try 'XINFO HELP'");
addReplySubSyntaxError(c);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment