README.md in etcd-0.0.6 vs README.md in etcd-0.2.0.alpha

- old
+ new

@@ -18,13 +18,13 @@ ## Usage ### Create a client object ```ruby client = Etcd.client # this will create a client against etcd server running on localhost on port 4001 -client = Etcd.client(:port=>4002) -client = Etcd.client(:host=>'127.0.0.1', :port=>4003) -client = Etcd.client(:host=>'127.0.0.1', :port=>4003, :allow_redirect => false) # wont let you run sensitive commands on non-leader machines, default is true +client = Etcd.client(port: 4002) +client = Etcd.client(host: '127.0.0.1', port: 4003) +client = Etcd.client(host: '127.0.0.1', port: 4003, allow_redirect: false) # wont let you run sensitive commands on non-leader machines, default is true ``` ### Set a key ```ruby client.set('/nodes/n1', 1) # with ttl @@ -36,9 +36,10 @@ ``` ### Delete a key ```ruby client.delete('/nodes/n1') +client.delete('/nodes/', recursive: true) ``` ### Test and set ```ruby client.test_and_set('/nodes/n2', 2, 4) # will set /nodes/n2 's value to 2 only if its previous value was 4