diff options
author | antirez <antirez@gmail.com> | 2017-11-27 18:09:05 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2017-11-27 18:09:08 +0100 |
commit | 75fa7879e6b4408247db6b7eba3def64c00d4f9a (patch) | |
tree | e3f90c5ff3c0638fbe795cd5c8753518affecc31 | |
parent | b412c544fd6d5efd1e3986383ef6bef7775fe48f (diff) | |
download | redis-75fa7879e6b4408247db6b7eba3def64c00d4f9a.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)) |