Browse Source

Merge pull request #361 from philips/cleanup-peers-usage

cleanup-peers-usage
Xiang Li 12 years ago
parent
commit
d5e4aef6c2
1 changed files with 3 additions and 2 deletions
  1. 3 2
      server/usage.go

+ 3 - 2
server/usage.go

@@ -26,8 +26,9 @@ Options:
   -vv               Enabled very verbose logging.
   -vv               Enabled very verbose logging.
 
 
 Cluster Configuration Options:
 Cluster Configuration Options:
-  -peers=<peers>      Comma-separated list of peers (ip + port) in the cluster.
-  -peers-file=<path>  Path to a file containing the peer list.
+  -peers-file=<path>              Path to a file containing the peer list.
+  -peers=<host:port>,<host:port>  Comma-separated list of peers. The members
+                                  should match the peer's '-peer-addr' flag.
 
 
 Client Communication Options:
 Client Communication Options:
   -addr=<host:port>   The public host:port used for client communication.
   -addr=<host:port>   The public host:port used for client communication.