Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
7820377d
Commit
7820377d
authored
Dec 15, 2017
by
Itamar Haber
Browse files
Uppercases subcommands in MEMORY HELP
parent
4317e213
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/object.c
View file @
7820377d
...
...
@@ -1123,11 +1123,11 @@ void memoryCommand(client *c) {
if
(
c
->
argc
==
2
&&
!
strcasecmp
(
c
->
argv
[
1
]
->
ptr
,
"help"
))
{
const
char
*
help
[]
=
{
"
doctor
- Return memory problems reports."
,
"
malloc-stats
-- Return internal statistics report from the memory allocator."
,
"
purge
-- Attempt to purge dirty pages for reclamation by the allocator."
,
"
stats
-- Return information about the memory usage of the server."
,
"
usage
<key> [
samples
<count>] -- Return memory in bytes used by <key> and its value. Nested values are sampled up to <count> times (default: 5)."
,
"
DOCTOR
- Return memory problems reports."
,
"
MALLOC-STATS
-- Return internal statistics report from the memory allocator."
,
"
PURGE
-- Attempt to purge dirty pages for reclamation by the allocator."
,
"
STATS
-- Return information about the memory usage of the server."
,
"
USAGE
<key> [
SAMPLES
<count>] -- Return memory in bytes used by <key> and its value. Nested values are sampled up to <count> times (default: 5)."
,
NULL
};
addReplyHelp
(
c
,
help
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment