summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2017-11-27 18:09:05 +0100
committerantirez <antirez@gmail.com>2017-11-27 18:09:08 +0100
commit75fa7879e6b4408247db6b7eba3def64c00d4f9a (patch)
treee3f90c5ff3c0638fbe795cd5c8753518affecc31
parentb412c544fd6d5efd1e3986383ef6bef7775fe48f (diff)
downloadredis-75fa7879e6b4408247db6b7eba3def64c00d4f9a.tar.gz
Improve OBJECT HELP descriptions.
See #4472.
-rw-r--r--src/object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object.c b/src/object.c
index e62b5b3d9..8c33d7ef6 100644
--- a/src/object.c
+++ b/src/object.c
@@ -1026,9 +1026,9 @@ void objectCommand(client *c) {
blen++; addReplyStatus(c,
"encoding -- Return the kind of internal representation used in order to store the value associated with a key.");
blen++; addReplyStatus(c,
- "idletime -- Return the number of seconds since the object stored at the specified key is idle.");
+ "idletime -- Return the idle time of the key, that is the approximated number of seconds elapsed since the last access to the key.");
blen++; addReplyStatus(c,
- "freq -- Return the inverse logarithmic access frequency counter of the object stored at the specified key.");
+ "freq -- Return the access frequency index of the key. The returned integer is proportional to the logarithm of the recent access frequency of the key.");
setDeferredMultiBulkLength(c,blenp,blen);
} else if (!strcasecmp(c->argv[1]->ptr,"refcount") && c->argc == 3) {
if ((o = objectCommandLookupOrReply(c,c->argv[2],shared.nullbulk))