mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Capitalize OBJECT HELP subcommands.
This commit is contained in:
parent
4bce88b11f
commit
2f963080c1
@ -1161,10 +1161,10 @@ void objectCommand(client *c) {
|
|||||||
|
|
||||||
if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"help")) {
|
if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"help")) {
|
||||||
const char *help[] = {
|
const char *help[] = {
|
||||||
"encoding <key> -- Return the kind of internal representation used in order to store the value associated with a key.",
|
"ENCODING <key> -- Return the kind of internal representation used in order to store the value associated with a key.",
|
||||||
"freq <key> -- Return the access frequency index of the key. The returned integer is proportional to the logarithm of the recent access frequency of the key.",
|
"FREQ <key> -- Return the access frequency index of the key. The returned integer is proportional to the logarithm of the recent access frequency of the key.",
|
||||||
"idletime <key> -- Return the idle time of the key, that is the approximated number of seconds elapsed since the last access to the key.",
|
"IDLETIME <key> -- Return the idle time of the key, that is the approximated number of seconds elapsed since the last access to the key.",
|
||||||
"refcount <key> -- Return the number of references of the value associated with the specified key.",
|
"REFCOUNT <key> -- Return the number of references of the value associated with the specified key.",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
addReplyHelp(c, help);
|
addReplyHelp(c, help);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user