Skip to content

Commit 685a72d

Browse files
authored
Merge pull request #1277 from dcharbonnier/patch-1
document camel-case commands
2 parents c78b6d5 + 055f5c5 commit 685a72d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -847,19 +847,19 @@ non-blocking ones may be queued up until after the blocking ones finish.
847847
Another reason to use duplicate() is when multiple DBs on the same server are
848848
accessed via the redis SELECT command. Each DB could use its own connection.
849849

850-
### `client.send_command(command_name[, [args][, callback]])`
850+
### `client.sendCommand(command_name[, [args][, callback]])`
851851

852852
All Redis commands have been added to the `client` object. However, if new
853853
commands are introduced before this library is updated or if you want to add
854-
individual commands you can use `send_command()` to send arbitrary commands to
854+
individual commands you can use `sendCommand()` to send arbitrary commands to
855855
Redis.
856856

857857
All commands are sent as multi-bulk commands. `args` can either be an Array of
858858
arguments, or omitted / set to undefined.
859859

860-
### `redis.add_command(command_name)`
860+
### `redis.addCommand(command_name)`
861861

862-
Calling add_command will add a new command to the prototype. The exact command
862+
Calling addCommand will add a new command to the prototype. The exact command
863863
name will be used when calling using this new command. Using arbitrary arguments
864864
is possible as with any other command.
865865

0 commit comments

Comments
 (0)