Procházet zdrojové kódy

doc: fix `member add` usage

X.C.Dong před 7 roky
rodič
revize
1d764511f6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Documentation/op-guide/runtime-configuration.md

+ 1 - 1
Documentation/op-guide/runtime-configuration.md

@@ -100,7 +100,7 @@ Adding a member is a two step process:
 `etcdctl` adds a new member to the cluster by specifying the member's [name][conf-name] and [advertised peer URLs][conf-adv-peer]:
 
 ```sh
-$ etcdctl member add infra3 http://10.0.1.13:2380
+$ etcdctl member add infra3 --peer-urls=http://10.0.1.13:2380
 added member 9bf1b35fc7761a23 to cluster
 
 ETCD_NAME="infra3"