summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/t_stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/t_stream.c b/src/t_stream.c
index 075386dd3..4b3c264a6 100644
--- a/src/t_stream.c
+++ b/src/t_stream.c
@@ -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);
}
}