mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #6682 from sinsharat/update_txn_interactive_cmd_output
etcdctlv3: update txn interactive command output
This commit is contained in:
@@ -292,10 +292,13 @@ The protobuf encoding of the Txn [RPC response][etcdrpc].
|
||||
txn in interactive mode:
|
||||
```bash
|
||||
./etcdctl txn -i
|
||||
# compares:
|
||||
mod("key1") > "0"
|
||||
|
||||
# success requests (get, put, delete):
|
||||
put key1 "overwrote-key1"
|
||||
|
||||
# failure requests (get, put, delete):
|
||||
put key1 "created-key1"
|
||||
put key2 "some extra key"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user