1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

fixed duplicate and typo

This commit is contained in:
Kyle
2015-07-16 11:30:32 -05:00
parent bc48c2b069
commit defec9c1e1

View File

@@ -152,9 +152,8 @@ port and host are probably fine and you don't need to supply any arguments. `cre
* `redis.createClient()` is equivalent to `redis.createClient(6379, '127.0.0.1', {})` * `redis.createClient()` is equivalent to `redis.createClient(6379, '127.0.0.1', {})`
* `redis.createClient(options)` is equivalent to `redis.createClient(6379, '127.0.0.1', options)` * `redis.createClient(options)` is equivalent to `redis.createClient(6379, '127.0.0.1', options)`
* `redis.createClient(unix_socket, options)` * `redis.createClient(unix_socket, options)`
* `redis.createClient(port, host, options)`
`options` in an object with the following possible properties: `options` is an object with the following possible properties:
* `parser`: which Redis protocol reply parser to use. Defaults to `hiredis` if that module is installed. * `parser`: which Redis protocol reply parser to use. Defaults to `hiredis` if that module is installed.
This may also be set to `javascript`. This may also be set to `javascript`.