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

update readme to reflect usage of .add_command

This commit is contained in:
Chris
2018-03-27 22:28:50 -07:00
parent 19c80c617c
commit 7ba8163a7f

View File

@@ -826,7 +826,7 @@ Redis.
All commands are sent as multi-bulk commands. `args` can either be an Array of
arguments, or omitted / set to undefined.
## client.add_command(command_name)
## redis.add_command(command_name)
Calling add_command will add a new command to the prototype. The exact command
name will be used when calling using this new command. Using arbitrary arguments