From 18d32c7e1c3fac6f927fc5d1187ac205edb0fec2 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 2 Nov 2016 15:14:48 +0100 Subject: [PATCH] redis-cli typo fixed: perferences -> preferences. Thanks to @qiaodaimadelaowang for signaling the issue. Close #3585. --- src/redis-cli.c | 4 ++-- 1 file 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 \" 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) {