doc: fix output flag format

Add missing dash in the flag.
This commit is contained in:
Sahdev Zala
2021-05-12 14:13:08 -04:00
parent 57d9666974
commit 5f76adfc3e

View File

@@ -1040,12 +1040,12 @@ Prints a line of JSON encoding the database hash, revision, total keys, and size
```
```bash
./etcdctl -write-out=json snapshot status file.db
./etcdctl --write-out=json snapshot status file.db
# {"hash":3474280699,"revision":3,"totalKey":3,"totalSize":24576}
```
```bash
./etcdctl -write-out=table snapshot status file.db
./etcdctl --write-out=table snapshot status file.db
+----------+----------+------------+------------+
| HASH | REVISION | TOTAL KEYS | TOTAL SIZE |
+----------+----------+------------+------------+