Browse Source

Merge pull request #229 from amirhhz/patch-1

Correct index number to match description in 'watch' example
Xiang Li 12 years ago
parent
commit
c434f2cae7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -178,7 +178,7 @@ However, the watch command can do more than this. Using the the index we can wat
 Let's try to watch for the set command of index 6 again:
 Let's try to watch for the set command of index 6 again:
 
 
 ```sh
 ```sh
-curl -L http://127.0.0.1:4001/v1/watch/foo -d index=7
+curl -L http://127.0.0.1:4001/v1/watch/foo -d index=6
 ```
 ```
 
 
 The watch command returns immediately with the same response as previous.
 The watch command returns immediately with the same response as previous.