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
18d32c7e
Commit
18d32c7e
authored
Nov 02, 2016
by
antirez
Browse files
redis-cli typo fixed: perferences -> preferences.
Thanks to @qiaodaimadelaowang for signaling the issue. Close #3585.
parent
fa2dc4b6
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
18d32c7e
...
@@ -336,7 +336,7 @@ static void cliOutputGenericHelp(void) {
...
@@ -336,7 +336,7 @@ static void cliOutputGenericHelp(void) {
"
\"
help <tab>
\"
to get a list of possible help topics
\n
"
"
\"
help <tab>
\"
to get a list of possible help topics
\n
"
"
\"
quit
\"
to exit
\n
"
"
\"
quit
\"
to exit
\n
"
"
\n
"
"
\n
"
"To set redis-cli p
e
rferences:
\n
"
"To set redis-cli pr
e
ferences:
\n
"
"
\"
:set hints
\"
enable online hints
\n
"
"
\"
:set hints
\"
enable online hints
\n
"
"
\"
:set nohints
\"
disable online hints
\n
"
"
\"
:set nohints
\"
disable online hints
\n
"
"Set your preferences in ~/.redisclirc
\n
"
,
"Set your preferences in ~/.redisclirc
\n
"
,
...
@@ -1222,7 +1222,7 @@ static sds *cliSplitArgs(char *line, int *argc) {
...
@@ -1222,7 +1222,7 @@ static sds *cliSplitArgs(char *line, int *argc) {
}
}
}
}
/* Set the CLI p
e
rferences. This function is invoked when an interactive
/* Set the CLI pr
e
ferences. This function is invoked when an interactive
* ":command" is called, or when reading ~/.redisclirc file, in order to
* ":command" is called, or when reading ~/.redisclirc file, in order to
* set user preferences. */
* set user preferences. */
void
cliSetPreferences
(
char
**
argv
,
int
argc
,
int
interactive
)
{
void
cliSetPreferences
(
char
**
argv
,
int
argc
,
int
interactive
)
{
...
...
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