mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
doc: clarify etcdctl default API version
This commit is contained in:
parent
db5d1209d9
commit
a7568d63a7
@ -3,7 +3,9 @@ etcdctl
|
||||
|
||||
`etcdctl` is a command line client for [etcd][etcd].
|
||||
|
||||
The v3 API is used by default. For the v2 API, make sure to set environment variable `ETCDCTL_API=2`. See also [READMEv2][READMEv2].
|
||||
The v3 API is used by default on master branch. For the v2 API, make sure to set environment variable `ETCDCTL_API=2`. See also [READMEv2][READMEv2].
|
||||
|
||||
If using released versions earlier than v3.4, set `ETCDCTL_API=3` to use v3 API.
|
||||
|
||||
Global flags (e.g., `dial-timeout`, `--cacert`, `--cert`, `--key`) can be set with environment variables:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user