Преглед на файлове

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

cleanup-peers-usage
Xiang Li преди 12 години
родител
ревизия
d5e4aef6c2
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      server/usage.go

+ 3 - 2
server/usage.go

@@ -26,8 +26,9 @@ Options:
   -vv               Enabled very verbose logging.
 
 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:
   -addr=<host:port>   The public host:port used for client communication.