mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdctl: fix README to not suggest v2 is default
Note: v3 has been the default since 25bc65794.
This commit is contained in:
@@ -2,7 +2,8 @@ etcdctl
|
||||
========
|
||||
|
||||
`etcdctl` is a command line client for [etcd][etcd].
|
||||
Make sure to set environment variable `ETCDCTL_API=3`. For etcdctl v2, please check [READMEv2][READMEv2].
|
||||
|
||||
The v3 API is used by default. For the v2 API, make sure to set environment variable `ETCDCTL_API=2`. See also [READMEv2][READMEv2].
|
||||
|
||||
Global flags (e.g., `dial-timeout`, `--cacert`, `--cert`, `--key`) can be set with environment variables:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user