mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
doc: fix output flag format
Add missing dash in the flag.
This commit is contained in:
@@ -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 |
|
||||
+----------+----------+------------+------------+
|
||||
|
||||
Reference in New Issue
Block a user