diff --git a/src/redis.c b/src/redis.c index 248693b6fd1592a8e7166bd5023db82837355a6c..e636aa9b550504c6fbccba0dac2f0d3fb5dd347b 100644 --- a/src/redis.c +++ b/src/redis.c @@ -2596,7 +2596,7 @@ int main(int argc, char **argv) { loadServerConfig(configfile,options); sdsfree(options); } else { - redisLog(REDIS_WARNING,"Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'"); + redisLog(REDIS_WARNING, "Warning: no config file specified, using the default config. In order to specify a config file use %s /path/to/%s.conf", argv[0], server.sentinel_mode ? "sentinel" : "redis"); } if (server.daemonize) daemonize(); initServer();