8000 Merge branch 'feature/client_doc_fmt' into develop · devsnippet/phpredis@4fd6acd · GitHub
[go: up one dir, main page]

Skip to content

Commit 4fd6acd

Browse files
Merge branch 'feature/client_doc_fmt' into develop
2 parents 5582166 + 7deb21f commit 4fd6acd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2897,13 +2897,15 @@ The Redis CLIENT command can be used in four ways.
28972897
* CLIENT GETNAME
28982898
* CLIENT SETNAME [name]
28992899
* CLIENT KILL [ip:port]
2900+
29002901
##### *Usage*
29012902
~~~
29022903
$redis->client('list'); // Get a list of clients
29032904
$redis->client('getname'); // Get the name of the current connection
29042905
$redis->client('setname', 'somename'); // Set the name of the current connection
29052906
$redis->client('kill', <ip:port>); // Kill the process at ip:port
29062907
~~~
2908+
29072909
##### *Return value*
29082910
This will vary depending on which client command was executed.
29092911

0 commit comments

Comments
 (0)
0