summaryrefslogtreecommitdiff
path: root/src/slowlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/slowlog.c')
-rw-r--r--src/slowlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slowlog.c b/src/slowlog.c
index 2613435af..aed5707da 100644
--- a/src/slowlog.c
+++ b/src/slowlog.c
@@ -187,6 +187,6 @@ NULL
}
setDeferredMultiBulkLength(c,totentries,sent);
} else {
- addReplyErrorFormat(c, "Unknown subcommand or wrong number of arguments for '%s'. Try SLOWLOG HELP", (char*)c->argv[1]->ptr);
+ addReplySubSyntaxError(c);
}
}