Browse Source

Merge pull request #2149 from vdemedes/patch-1

Update README.md
Brandon Philips 11 years ago
parent
commit
7167cd6ccd
1 changed files with 12 additions and 12 deletions
  1. 12 12
      etcdctl/README.md

+ 12 - 12
etcdctl/README.md

@@ -196,26 +196,26 @@ Continuously watch a key and exec a program:
 ```
 ```
 $ etcdctl exec-watch /foo/bar -- sh -c "env | grep ETCD"
 $ etcdctl exec-watch /foo/bar -- sh -c "env | grep ETCD"
 ETCD_WATCH_ACTION=set
 ETCD_WATCH_ACTION=set
-ETCD_VALUE=My configuration stuff
-ETCD_MODIFIED_INDEX=1999
-ETCD_KEY=/foo/bar
+ETCD_WATCH_VALUE=My configuration stuff
+ETCD_WATCH_MODIFIED_INDEX=1999
+ETCD_WATCH_KEY=/foo/bar
 ETCD_WATCH_ACTION=set
 ETCD_WATCH_ACTION=set
-ETCD_VALUE=My new configuration stuff
-ETCD_MODIFIED_INDEX=2000
-ETCD_KEY=/foo/bar
+ETCD_WATCH_VALUE=My new configuration stuff
+ETCD_WATCH_MODIFIED_INDEX=2000
+ETCD_WATCH_KEY=/foo/bar
 ```
 ```
 
 
 Continuously and recursively watch a key and exec a program:
 Continuously and recursively watch a key and exec a program:
 ```
 ```
 $ etcdctl exec-watch --recursive /foo -- sh -c "env | grep ETCD"
 $ etcdctl exec-watch --recursive /foo -- sh -c "env | grep ETCD"
 ETCD_WATCH_ACTION=set
 ETCD_WATCH_ACTION=set
-ETCD_VALUE=My configuration stuff
-ETCD_MODIFIED_INDEX=1999
-ETCD_KEY=/foo/bar
+ETCD_WATCH_VALUE=My configuration stuff
+ETCD_WATCH_MODIFIED_INDEX=1999
+ETCD_WATCH_KEY=/foo/bar
 ETCD_WATCH_ACTION=set
 ETCD_WATCH_ACTION=set
-ETCD_VALUE=My new configuration stuff
-ETCD_MODIFIED_INDEX=2000
-ETCD_KEY=/foo/barbar
+ETCD_WATCH_VALUE=My new configuration stuff
+ETCD_WATCH_MODIFIED_INDEX=2000
+ETCD_WATCH_KEY=/foo/barbar
 ```
 ```
 
 
 ## Return Codes
 ## Return Codes