mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-05 18:23:45 +01:00
Merge pull request #2697 from Snowmanko/master
Update - fixed ejabberdctl push_roster description
This commit is contained in:
commit
cc9a1a0917
@ -560,8 +560,10 @@ get_commands_spec() ->
|
|||||||
desc = "Push template roster from file to a user",
|
desc = "Push template roster from file to a user",
|
||||||
longdesc = "The text file must contain an erlang term: a list "
|
longdesc = "The text file must contain an erlang term: a list "
|
||||||
"of tuples with username, servername, group and nick. Example:\n"
|
"of tuples with username, servername, group and nick. Example:\n"
|
||||||
"[{\"user1\", \"localhost\", \"Workers\", \"User 1\"},\n"
|
"[{<<\"user1\">>, <<\"localhost\">>, <<\"Workers\">>, <<\"User 1\"},\n"
|
||||||
" {\"user2\", \"localhost\", \"Workers\", \"User 2\"}].",
|
" {<<\"user2\">>, <<\"localhost\">>, <<\"Workers\">>, <<\"User 2\"}].\n"
|
||||||
|
"When using UTF8 character encoding add /utf8 to certain string. Example:\n"
|
||||||
|
"[{<<\"user2\">>, <<\"localhost\">>, <<\"Workers\"/utf8>>, <<\"User 2\"/utf8>>}].",
|
||||||
module = ?MODULE, function = push_roster,
|
module = ?MODULE, function = push_roster,
|
||||||
args = [{file, binary}, {user, binary}, {host, binary}],
|
args = [{file, binary}, {user, binary}, {host, binary}],
|
||||||
args_example = [<<"/home/ejabberd/roster.txt">>, <<"user1">>, <<"localhost">>],
|
args_example = [<<"/home/ejabberd/roster.txt">>, <<"user1">>, <<"localhost">>],
|
||||||
|
Loading…
Reference in New Issue
Block a user