Commit 18d32c7e authored by antirez's avatar antirez
Browse files

redis-cli typo fixed: perferences -> preferences.

Thanks to @qiaodaimadelaowang for signaling the issue.
Close #3585.
parent fa2dc4b6
...@@ -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 perferences:\n" "To set redis-cli preferences:\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 perferences. This function is invoked when an interactive /* Set the CLI preferences. 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) {
......
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