diff options
author | antirez <antirez@gmail.com> | 2017-11-27 18:09:05 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2017-11-28 17:34:47 +0100 |
commit | 3c942b12695dabfbbf9af7dd62ec9ece2007bcb8 (patch) | |
tree | 3c10a81a413f3d9a580d7a0830b67881e509253b | |
parent | 6b6a83c7abadb6e2a3fd8527f428b4ea5a4eb62b (diff) | |
download | redis-3c942b12695dabfbbf9af7dd62ec9ece2007bcb8.tar.gz |
Improve OBJECT HELP descriptions.
See #4472.
-rw-r--r-- | src/object.c | 4 |
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)) |