From 885687fac9191dd65dbc24e9ba8994ffae5ace94 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Sun, 6 Mar 2011 15:27:39 +0100 Subject: [PATCH] hash -> myhash --- commands/hdel.md | 6 +++--- commands/hexists.md | 6 +++--- commands/hget.md | 6 +++--- commands/hgetall.md | 6 +++--- commands/hincrby.md | 8 ++++---- commands/hkeys.md | 8 ++++---- commands/hlen.md | 6 +++--- commands/hmget.md | 6 +++--- commands/hmset.md | 6 +++--- commands/hset.md | 4 ++-- commands/hsetnx.md | 6 +++--- commands/hvals.md | 8 ++++---- 12 files changed, 38 insertions(+), 38 deletions(-) diff --git a/commands/hdel.md b/commands/hdel.md index c7c12b14de..d6f0580ac9 100644 --- a/commands/hdel.md +++ b/commands/hdel.md @@ -15,7 +15,7 @@ Removes `field` from the hash stored at `key`. @examples @cli - HSET hash field1 "foo" - HDEL hash field1 - HDEL hash field2 + HSET myhash field1 "foo" + HDEL myhash field1 + HDEL myhash field2 diff --git a/commands/hexists.md b/commands/hexists.md index 99f36e6d41..ea6a213ca7 100644 --- a/commands/hexists.md +++ b/commands/hexists.md @@ -15,7 +15,7 @@ Returns if `field` is an existing field in the hash stored at `key`. @examples @cli - HSET hash field1 "foo" - HEXISTS hash field1 - HEXISTS hash field2 + HSET myhash field1 "foo" + HEXISTS myhash field1 + HEXISTS myhash field2 diff --git a/commands/hget.md b/commands/hget.md index 5da2a19b5b..ef07f9d58c 100644 --- a/commands/hget.md +++ b/commands/hget.md @@ -13,7 +13,7 @@ present in the hash or `key` does not exist. @examples @cli - HSET hash field1 "foo" - HGET hash field1 - HGET hash field2 + HSET myhash field1 "foo" + HGET myhash field1 + HGET myhash field2 diff --git a/commands/hgetall.md b/commands/hgetall.md index 97ae03002b..e027ea6478 100644 --- a/commands/hgetall.md +++ b/commands/hgetall.md @@ -14,7 +14,7 @@ empty list when `key` does not exist. @examples @cli - HSET hash field1 "Hello" - HSET hash field2 "World" - HGETALL hash + HSET myhash field1 "Hello" + HSET myhash field2 "World" + HGETALL myhash diff --git a/commands/hincrby.md b/commands/hincrby.md index 099eda98a5..72c2f82651 100644 --- a/commands/hincrby.md +++ b/commands/hincrby.md @@ -21,8 +21,8 @@ Since the `increment` argument is signed, both increment and decrement operations can be performed: @cli - HSET hash field 5 - HINCRBY hash field 1 - HINCRBY hash field -1 - HINCRBY hash field -10 + HSET myhash field 5 + HINCRBY myhash field 1 + HINCRBY myhash field -1 + HINCRBY myhash field -10 diff --git a/commands/hkeys.md b/commands/hkeys.md index 08eff00458..07d15e7203 100644 --- a/commands/hkeys.md +++ b/commands/hkeys.md @@ -2,7 +2,7 @@ O(N) where N is the size of the hash. -Returns all field names of the hash stored at `key`. +Returns all field names in the hash stored at `key`. @return @@ -12,7 +12,7 @@ not exist. @examples @cli - HSET hash field1 "Hello" - HSET hash field2 "World" - HKEYS hash + HSET myhash field1 "Hello" + HSET myhash field2 "World" + HKEYS myhash diff --git a/commands/hlen.md b/commands/hlen.md index a62c551489..9d79c3ced0 100644 --- a/commands/hlen.md +++ b/commands/hlen.md @@ -12,7 +12,7 @@ Returns the number of fields contained in the hash stored at `key`. @examples @cli - HSET hash field1 "Hello" - HSET hash field2 "World" - HLEN hash + HSET myhash field1 "Hello" + HSET myhash field2 "World" + HLEN myhash diff --git a/commands/hmget.md b/commands/hmget.md index 4d296f3725..7cc47b3afc 100644 --- a/commands/hmget.md +++ b/commands/hmget.md @@ -15,7 +15,7 @@ against a non-existing `key` will return a list of `nil` values. order as they are requested. @cli - HSET hash field1 "Hello" - HSET hash field2 "World" - HMGET hash field1 field2 nofield + HSET myhash field1 "Hello" + HSET myhash field2 "World" + HMGET myhash field1 field2 nofield diff --git a/commands/hmset.md b/commands/hmset.md index 92b812553d..2dc715a90a 100644 --- a/commands/hmset.md +++ b/commands/hmset.md @@ -13,7 +13,7 @@ If `key` does not exist, a new key holding a hash is created. @examples @cli - HMSET hash field1 "Hello" field2 "World" - HGET hash field1 - HGET hash field2 + HMSET myhash field1 "Hello" field2 "World" + HGET myhash field1 + HGET myhash field2 diff --git a/commands/hset.md b/commands/hset.md index 3ee9c31c71..a453b0f25d 100644 --- a/commands/hset.md +++ b/commands/hset.md @@ -17,6 +17,6 @@ is overwritten. @examples @cli - HSET hash field1 "Hello" - HGET hash field1 + HSET myhash field1 "Hello" + HGET myhash field1 diff --git a/commands/hsetnx.md b/commands/hsetnx.md index dd09179823..6e09ea835a 100644 --- a/commands/hsetnx.md +++ b/commands/hsetnx.md @@ -17,7 +17,7 @@ yet exist. If `key` does not exist, a new key holding a hash is created. If @examples @cli - HSETNX hash field "Hello" - HSETNX hash field "World" - HGET hash field + HSETNX myhash field "Hello" + HSETNX myhash field "World" + HGET myhash field diff --git a/commands/hvals.md b/commands/hvals.md index edc23359a8..9e3b5c0231 100644 --- a/commands/hvals.md +++ b/commands/hvals.md @@ -2,7 +2,7 @@ O(N) where N is the size of the hash. -Returns all values of the hash stored at `key`. +Returns all values in the hash stored at `key`. @return @@ -12,7 +12,7 @@ not exist. @examples @cli - HSET hash field1 "Hello" - HSET hash field2 "World" - HVALS hash + HSET myhash field1 "Hello" + HSET myhash field2 "World" + HVALS myhash