summaryrefslogtreecommitdiff
path: root/src/slowlog.c
diff options
context:
space:
mode:
authorItamar Haber <itamar@redislabs.com>2018-06-07 18:39:36 +0300
committerItamar Haber <itamar@redislabs.com>2018-06-07 18:39:36 +0300
commitc199280edb7ad344bb3d2af7572469f74d506da7 (patch)
tree8f9048e366c588a14bffb9f12c3efd24532392eb /src/slowlog.c
parent76ad23d012f194efa1acc0f8356d945b07681851 (diff)
downloadredis-c199280edb7ad344bb3d2af7572469f74d506da7.tar.gz
Globally applies addReplySubSyntaxError
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);
}
}