summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2016-11-02 15:14:48 +0100
committerantirez <antirez@gmail.com>2016-11-02 15:15:49 +0100
commit18d32c7e1c3fac6f927fc5d1187ac205edb0fec2 (patch)
tree5c7affc49e3bffdc8c36fb9fe681a07d18f492fe /src
parentfa2dc4b60c5dd8fabafd99fa23badfc6b00b15bc (diff)
downloadredis-18d32c7e1c3fac6f927fc5d1187ac205edb0fec2.tar.gz
redis-cli typo fixed: perferences -> preferences.
Thanks to @qiaodaimadelaowang for signaling the issue. Close #3585.
Diffstat (limited to 'src')
-rw-r--r--src/redis-cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/redis-cli.c b/src/redis-cli.c
index cbb41f3f1..85ca404fb 100644
--- a/src/redis-cli.c
+++ b/src/redis-cli.c
@@ -336,7 +336,7 @@ static void cliOutputGenericHelp(void) {
" \"help <tab>\" to get a list of possible help topics\n"
" \"quit\" to exit\n"
"\n"
- "To set redis-cli perferences:\n"
+ "To set redis-cli preferences:\n"
" \":set hints\" enable online hints\n"
" \":set nohints\" disable online hints\n"
"Set your preferences in ~/.redisclirc\n",
@@ -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
* set user preferences. */
void cliSetPreferences(char **argv, int argc, int interactive) {