summaryrefslogtreecommitdiff
path: root/src/slowlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/slowlog.c')
-rw-r--r--src/slowlog.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/slowlog.c b/src/slowlog.c
index 408456b14..b8c13f1cb 100644
--- a/src/slowlog.c
+++ b/src/slowlog.c
@@ -142,11 +142,15 @@ void slowlogReset(void) {
void slowlogCommand(client *c) {
if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"help")) {
const char *help[] = {
-"GET [count] -- Return top entries from the slowlog (default: 10)."
-" Entries are made of:",
-" id, timestamp, time in microseconds, arguments array, client IP and port, client name",
-"LEN -- Return the length of the slowlog.",
-"RESET -- Reset the slowlog.",
+"GET [<count>]",
+" Return top <count> entries from the slowlog (default: 10). Entries are",
+" made of:",
+" id, timestamp, time in microseconds, arguments array, client IP and port,",
+" client name",
+"LEN",
+" Return the length of the slowlog.",
+"RESET",
+" Reset the slowlog.",
NULL
};
addReplyHelp(c, help);