Browse Source

Merge pull request #2350 from jonsyu1/master

Fixed sample command flags in proxy docs
Xiang Li 10 years ago
parent
commit
4b72095bd3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Documentation/proxy.md

+ 2 - 2
Documentation/proxy.md

@@ -14,7 +14,7 @@ The proxy will be listening on `listen-client-urls` and forward requests to the
 #### Start an etcd proxy with a static configuration
 #### Start an etcd proxy with a static configuration
 To start a proxy that will connect to a statically defined etcd cluster, specify the `initial-cluster` flag:
 To start a proxy that will connect to a statically defined etcd cluster, specify the `initial-cluster` flag:
 ```
 ```
-etcd -proxy on -client-listen-urls 127.0.0.1:8080 -initial-cluster infra0=http://10.0.1.10:2380,infra1=http://10.0.1.11:2380,infra2=http://10.0.1.12:2380
+etcd -proxy on -listen-client-urls 127.0.0.1:8080 -initial-cluster infra0=http://10.0.1.10:2380,infra1=http://10.0.1.11:2380,infra2=http://10.0.1.12:2380
 ```
 ```
 
 
 #### Start an etcd proxy with the discovery service
 #### Start an etcd proxy with the discovery service
@@ -23,7 +23,7 @@ If you bootstrap an etcd cluster using the [discovery service][discovery-service
 To start a proxy using the discovery service, specify the `discovery-url` flag. The proxy will wait until the etcd cluster defined at the `discovery-url` finishes bootstrapping, and then start to forward the requests. 
 To start a proxy using the discovery service, specify the `discovery-url` flag. The proxy will wait until the etcd cluster defined at the `discovery-url` finishes bootstrapping, and then start to forward the requests. 
 
 
 ```
 ```
-etcd -proxy on -client-listen-urls 127.0.0.1:8080  -discovery https://discovery.etcd.io/3e86b59982e49066c5d813af1c2e2579cbf573de
+etcd -proxy on -listen-client-urls 127.0.0.1:8080  -discovery https://discovery.etcd.io/3e86b59982e49066c5d813af1c2e2579cbf573de
 ```
 ```
 
 
 #### Fallback to proxy mode with discovery service
 #### Fallback to proxy mode with discovery service