Commit 75fa7879 authored by antirez's avatar antirez
Browse files

Improve OBJECT HELP descriptions.

See #4472.
parent b412c544
...@@ -1026,9 +1026,9 @@ void objectCommand(client *c) { ...@@ -1026,9 +1026,9 @@ void objectCommand(client *c) {
blen++; addReplyStatus(c, blen++; addReplyStatus(c,
"encoding -- Return the kind of internal representation used in order to store the value associated with a key."); "encoding -- Return the kind of internal representation used in order to store the value associated with a key.");
blen++; addReplyStatus(c, 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, 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); setDeferredMultiBulkLength(c,blenp,blen);
} else if (!strcasecmp(c->argv[1]->ptr,"refcount") && c->argc == 3) { } else if (!strcasecmp(c->argv[1]->ptr,"refcount") && c->argc == 3) {
if ((o = objectCommandLookupOrReply(c,c->argv[2],shared.nullbulk)) if ((o = objectCommandLookupOrReply(c,c->argv[2],shared.nullbulk))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment