]> git.saurik.com Git - redis.git/commitdiff
with --help states that you can use - as config file name to feed config via stdin
authorantirez <antirez@gmail.com>
Tue, 23 Mar 2010 19:04:55 +0000 (20:04 +0100)
committerantirez <antirez@gmail.com>
Tue, 23 Mar 2010 19:04:55 +0000 (20:04 +0100)
redis.c

diff --git a/redis.c b/redis.c
index db72225b982016c4dcd4d3f78bd438d28e358c03..fdd5cca0c2a076780f56656aa4b2314f60286be0 100644 (file)
--- a/redis.c
+++ b/redis.c
@@ -9200,6 +9200,7 @@ static void version() {
 
 static void usage() {
     fprintf(stderr,"Usage: ./redis-server [/path/to/redis.conf]\n");
+    fprintf(stderr,"       ./redis-server - (read config from stdin)\n");
     exit(1);
 }