From 097fbd383c2a36306f88541c700f805a23721a26 Mon Sep 17 00:00:00 2001 From: Leibale Eidelman Date: Mon, 26 Jun 2023 18:11:50 -0400 Subject: [PATCH] replace @reply with @return --- commands/slowlog-get.md | 2 +- commands/slowlog-len.md | 2 +- commands/slowlog-reset.md | 2 +- commands/xinfo-consumers.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/slowlog-get.md b/commands/slowlog-get.md index a99910ad87..3773cfbcd3 100644 --- a/commands/slowlog-get.md +++ b/commands/slowlog-get.md @@ -21,6 +21,6 @@ The entry's unique ID can be used in order to avoid processing slow log entries The ID is never reset in the course of the Redis server execution, only a server restart will reset it. -@reply +@return @array-reply: a list of slow log entries. diff --git a/commands/slowlog-len.md b/commands/slowlog-len.md index 6f0d97758a..6cc062f2a1 100644 --- a/commands/slowlog-len.md +++ b/commands/slowlog-len.md @@ -5,7 +5,7 @@ The maximum number of entries in the slow log is governed by the `slowlog-max-le Once the slog log reaches its maximal size, the oldest entry is removed whenever a new entry is created. The slow log can be cleared with the `SLOWLOG RESET` command. -@reply +@return @integer-reply diff --git a/commands/slowlog-reset.md b/commands/slowlog-reset.md index b522c26a5c..2b6d436aaf 100644 --- a/commands/slowlog-reset.md +++ b/commands/slowlog-reset.md @@ -2,6 +2,6 @@ This command resets the slow log, clearing all entries in it. Once deleted the information is lost forever. -@reply +@return @simple-string-reply: `OK` diff --git a/commands/xinfo-consumers.md b/commands/xinfo-consumers.md index 965292e131..d4bb878b8e 100644 --- a/commands/xinfo-consumers.md +++ b/commands/xinfo-consumers.md @@ -7,7 +7,7 @@ The following information is provided for each consumer in the group: * **idle**: the number of milliseconds that have passed since the consumer's last attempted interaction (Examples: `XREADGROUP`, `XCLAIM`, `XAUTOCLAIM`) * **inactive**: the number of milliseconds that have passed since the consumer's last successful interaction (Examples: `XREADGROUP` that actually read some entries into the PEL, `XCLAIM`/`XAUTOCLAIM` that actually claimed some entries) -@reply +@return @array-reply: a list of consumers.