From 128cd49c768f9ebfa9f83d9642f0752dd55aee50 Mon Sep 17 00:00:00 2001 From: Remzi Arpaci-Dusseau Date: Sun, 5 Sep 2021 12:38:26 -0500 Subject: [PATCH] update to get failure mode --- initial-kv/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/initial-kv/README.md b/initial-kv/README.md index a453d68..de4d39e 100644 --- a/initial-kv/README.md +++ b/initial-kv/README.md @@ -72,7 +72,8 @@ The full list of commands which your KV store should support are: - *get*: The format is `g,key`, where `key` is an integer. If the key is present, the system should print out the key, followed by a comma, followed by the value, followed by a newline (`\n`). If not present, -nothing is printed. +print an error message on a line by itself, of the form `K not found` +where `K` is the actual value of the key, i.e., some integer. - *delete*: The format is `d,key`, which either deletes the relevant key-value pair (and prints nothing), or fails to do so (and prints `K not found` where `K` is the actual value of the key, i.e., some