summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Robenolt <m@robenolt.com>2014-07-28 00:30:12 -0700
committerantirez <antirez@gmail.com>2014-07-28 14:55:10 +0200
commit9d30ffa4056ba59815ec9a7fb7924af3f0bd813f (patch)
tree93e5cf88924e84292e7e45ecda4ba9e6d2986e34
parent582d8c0c6611a46c2a534b73a702b1850bf976df (diff)
downloadredis-9d30ffa4056ba59815ec9a7fb7924af3f0bd813f.tar.gz
Fix spelling of "stand alone" in ascii art
Also unified the logic to match `genRedisInfoString`
-rw-r--r--src/redis.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/redis.c b/src/redis.c
index d002c1236..5ddbc9250 100644
--- a/src/redis.c
+++ b/src/redis.c
@@ -3381,10 +3381,11 @@ void usage() {
void redisAsciiArt(void) {
#include "asciilogo.h"
char *buf = zmalloc(1024*16);
- char *mode = "stand alone";
+ char *mode;
if (server.cluster_enabled) mode = "cluster";
else if (server.sentinel_mode) mode = "sentinel";
+ else mode = "standalone";
snprintf(buf,1024*16,ascii_logo,
REDIS_VERSION,