mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdctl: readme.md display fix
This commit is contained in:
parent
b3a083d336
commit
cd3a7fb833
@ -206,7 +206,7 @@ put key2 "some extra key"
|
|||||||
```
|
```
|
||||||
|
|
||||||
txn in non-interactive mode:
|
txn in non-interactive mode:
|
||||||
```
|
```bash
|
||||||
./etcdctl txn <<<'mod("key1") > "0"
|
./etcdctl txn <<<'mod("key1") > "0"
|
||||||
|
|
||||||
put key1 "overwrote-key1"
|
put key1 "overwrote-key1"
|
||||||
@ -215,6 +215,7 @@ put key1 "created-key1"
|
|||||||
put key2 "some extra key"
|
put key2 "some extra key"
|
||||||
|
|
||||||
'
|
'
|
||||||
|
|
||||||
# FAILURE
|
# FAILURE
|
||||||
|
|
||||||
# OK
|
# OK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user