From 071a0157e028236296297d45dbe9eac774ef4b27 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Mon, 14 Jan 2019 12:29:08 +0000 Subject: [PATCH] etcdctl: fix README to not suggest v2 is default Note: v3 has been the default since 25bc65794. --- etcdctl/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etcdctl/README.md b/etcdctl/README.md index e3b14e7c4..0ac943aa3 100644 --- a/etcdctl/README.md +++ b/etcdctl/README.md @@ -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: