From 1fdb8da8447590c1e8b98872b692c2853e130e87 Mon Sep 17 00:00:00 2001 From: Ma Huihuang Date: Fri, 14 Sep 2018 16:42:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=8E=AF=E5=A2=83=E5=8F=98?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `No help topic for 'put'· --- etcd/install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etcd/install.md b/etcd/install.md index b15b4c9..ce3f67f 100644 --- a/etcd/install.md +++ b/etcd/install.md @@ -50,10 +50,10 @@ $ etcd 此时,可以使用 `etcdctl` 命令进行测试,设置和获取键值 `testkey: "hello world"`,检查 `etcd` 服务是否启动成功: ```bash -$ etcdctl member list +$ ETCDCTL_API=3 etcdctl member list 8e9e05c52164694d, started, default, http://localhost:2380, http://localhost:2379 -$ etcdctl put testkey "hello world" +$ ETCDCTL_API=3 etcdctl put testkey "hello world" OK $ etcdctl get testkey