Skip to content

Commit 0ad516f

Browse files
authored
document camel-case commands
1 parent 0094795 commit 0ad516f

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
@@ -786,19 +786,19 @@ non-blocking ones may be queued up until after the blocking ones finish.
786786
Another reason to use duplicate() is when multiple DBs on the same server are
787787
accessed via the redis SELECT command. Each DB could use its own connection.
788788

789-
## client.send_command(command_name[, [args][, callback]])
789+
## client.sendCommand(command_name[, [args][, callback]])
790790

791791
All Redis commands have been added to the `client` object. However, if new
792792
commands are introduced before this library is updated or if you want to add
793-
individual commands you can use `send_command()` to send arbitrary commands to
793+
individual commands you can use `sendCommand()` to send arbitrary commands to
794794
Redis.
795795

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

799-
## client.add_command(command_name)
799+
## client.addCommand(command_name)
800800

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

0 commit comments

Comments
 (0)