Index: trunk/server/doc/protocol.txt
===================================================================
--- trunk/server/doc/protocol.txt (revision 620)
+++ trunk/server/doc/protocol.txt (revision 627)
@@ -54,6 +54,6 @@
 There are three types of commands. 
 
-Storage commands (there are five: "set", "add", "replace", "append"
-and "cas") ask the server to store some data identified by a key. The
+Storage commands (there are six: "set", "add", "replace", "append"
+"prepend" and "cas") ask the server to store some data identified by a key. The
 client sends a command line, and then a data block; after that the
 client expects one line of response, which will indicate success or
@@ -127,7 +127,7 @@
 First, the client sends a command line which looks like this:
 
-<command name> <key> <flags> <exptime> <bytes> [<unqiue>]\r\n
-
-- <command name> is "set", "add", "replace", "append", or "cas"
+<command name> <key> <flags> <exptime> <bytes> [<cas unqiue>]\r\n
+
+- <command name> is "set", "add", "replace", "append", "prepend", or "cas"
 
   "set" means "store this data".  
@@ -139,5 +139,7 @@
   already hold data for this key".
 
-  "append" means "add this data to an existing key".
+  "append" means "add this data to an existing key after existing data".
+
+  "prepend" means "add this data to an existing key before existing data".
 
   "cas" is a check and set operation which means "store this data but
@@ -166,4 +168,6 @@
 
 - <cas unique> is a unique 64-bit value of an existing entry.
+  Clients should use the value returned from the "gets" command
+  when issuing "cas" updates.
 
 After this line, the client sends the data block:
