Skip to content

Commit 0af22a3

Browse files
bmateuszdormando
authored andcommitted
Document missing flags of Meta Arithmetic
1 parent 315692e commit 0af22a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/protocol.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,10 +883,12 @@ The flags used by the 'ma' command are:
883883
- D(token): delta to apply (decimal unsigned 64-bit number, default 1)
884884
- T(token): update TTL on success
885885
- M(token): mode switch to change between incr and decr modes.
886+
- O(token): opaque value, consumes a token and copies back with response
886887
- q: use noreply semantics for return codes (see details under mset)
887888
- t: return current TTL
888889
- c: return current CAS value if successful.
889890
- v: return new value
891+
- k: return key as a token
890892

891893
The flags are now repeated with detailed information where useful:
892894

0 commit comments

Comments
 (0)