Explorar el Código

Merge pull request #4500 from gyuho/etcdctl_doc

etcdctl: make doc on 'no-sync' clearer
Gyu-Ho Lee hace 9 años
padre
commit
8c9dba8275
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      etcdctl/README.md

+ 3 - 0
etcdctl/README.md

@@ -21,6 +21,8 @@ You can also build etcdctl from source using the build script found in the paren
 
 ### --no-sync
 + don't synchronize cluster information before sending request
++ Use this to access non-published client endpoints
++ Without this flag, values from `--endpoint` flag will be overwritten by etcd cluster when it does internal sync.
 
 ### --output, -o
 + output response in the given format (`simple`, `extended` or `json`)
@@ -40,6 +42,7 @@ You can also build etcdctl from source using the build script found in the paren
 + a comma-delimited list of machine addresses in the cluster
 + default: `"http://127.0.0.1:4001,http://127.0.0.1:2379"`
 + env variable: ETCDCTL_ENDPOINT
++ Without `--no-sync` flag, this will be overwritten by etcd cluster when it does internal sync.
 
 ### --cert-file
 + identify HTTPS client using this SSL certificate file