소스 검색

Merge pull request #3658 from mqliang/patch-2

docs/api.md: fix documentation
Yicheng Qin 10 년 전
부모
커밋
eadfd138a4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Documentation/api.md

+ 1 - 1
Documentation/api.md

@@ -506,7 +506,7 @@ The current comparable conditions are:
 
 
 2. `prevIndex` - checks the previous modifiedIndex of the key.
 2. `prevIndex` - checks the previous modifiedIndex of the key.
 
 
-3. `prevExist` - checks existence of the key: if `prevExist` is true, it is an `update` request; if prevExist is `false`, it is a `create` request.
+3. `prevExist` - checks existence of the key: if `prevExist` is true, it is an `update` request; if `prevExist` is `false`, it is a `create` request.
 
 
 Here is a simple example.
 Here is a simple example.
 Let's create a key-value pair first: `foo=one`.
 Let's create a key-value pair first: `foo=one`.