mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
Merge pull request #1895 from mattrobenolt/patch-1
Fix spelling of "stand alone" in ascii art
This commit is contained in:
commit
d76c663dfe
@ -3381,10 +3381,11 @@ void usage() {
|
|||||||
void redisAsciiArt(void) {
|
void redisAsciiArt(void) {
|
||||||
#include "asciilogo.h"
|
#include "asciilogo.h"
|
||||||
char *buf = zmalloc(1024*16);
|
char *buf = zmalloc(1024*16);
|
||||||
char *mode = "stand alone";
|
char *mode;
|
||||||
|
|
||||||
if (server.cluster_enabled) mode = "cluster";
|
if (server.cluster_enabled) mode = "cluster";
|
||||||
else if (server.sentinel_mode) mode = "sentinel";
|
else if (server.sentinel_mode) mode = "sentinel";
|
||||||
|
else mode = "standalone";
|
||||||
|
|
||||||
snprintf(buf,1024*16,ascii_logo,
|
snprintf(buf,1024*16,ascii_logo,
|
||||||
REDIS_VERSION,
|
REDIS_VERSION,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user