提交 0f8df3df 编写于 作者: M Matt Robenolt

Fix spelling of "stand alone" in ascii art

Also unified the logic to match `genRedisInfoString`
上级 351ad518
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册