Skip to content

Commit 5c58962

Browse files
authored
Made small typo corrections
(1) the help option for etcdctl is -h and not --h. Corrected the same (2) in the snapshot command, the --endpoints option's value has been corrected to reflect the right endpoint.
1 parent d830ee0 commit 5c58962

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,14 +283,14 @@ volume.
283283
We can also take the snapshot using various options given by etcdctl. For example
284284

285285
```shell
286-
ETCDCTL_API=3 etcdctl --h
286+
ETCDCTL_API=3 etcdctl -h
287287
```
288288

289289
will list various options available from etcdctl. For example, you can take a snapshot by specifying
290290
the endpoint, certificates etc as shown below:
291291

292292
```shell
293-
ETCDCTL_API=3 etcdctl --endpoints=[127.0.0.1:2379] \
293+
ETCDCTL_API=3 etcdctl --endpoints=https://[127.0.0.1]:2379 \
294294
--cacert=<trusted-ca-file> --cert=<cert-file> --key=<key-file> \
295295
snapshot save <backup-file-location>
296296
```

0 commit comments

Comments
 (0)