mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Fix errors from 1a0db3d
This commit is contained in:
parent
1a0db3de3a
commit
2e88d001d6
@ -974,7 +974,7 @@ get_commands_spec() ->
|
||||
desc = "List user's connected resources",
|
||||
policy = user,
|
||||
module = ?MODULE, function = user_resources,
|
||||
args = [],
|
||||
args = [{user, binary}, {host, binary}],
|
||||
args_desc = ["User name", "Server name"],
|
||||
args_example = [<<"user1">>, <<"example.com">>],
|
||||
result_example = [<<"tka1">>, <<"Gajim">>, <<"mobile-app">>],
|
||||
|
@ -113,16 +113,16 @@ get_commands_spec() ->
|
||||
tags = [admin,modules],
|
||||
desc = "Compile, install and start an available contributed module",
|
||||
module = ?MODULE, function = install,
|
||||
args_desc = "Module name",
|
||||
args_example = mod_rest,
|
||||
args_desc = ["Module name"],
|
||||
args_example = [<<"mod_rest">>],
|
||||
args = [{module, binary}],
|
||||
result = {res, rescode}},
|
||||
#ejabberd_commands{name = module_uninstall,
|
||||
tags = [admin,modules],
|
||||
desc = "Uninstall a contributed module",
|
||||
module = ?MODULE, function = uninstall,
|
||||
args_desc = "Module name",
|
||||
args_example = mod_rest,
|
||||
args_desc = ["Module name"],
|
||||
args_example = [<<"mod_rest">>],
|
||||
args = [{module, binary}],
|
||||
result = {res, rescode}},
|
||||
#ejabberd_commands{name = module_upgrade,
|
||||
@ -130,16 +130,16 @@ get_commands_spec() ->
|
||||
desc = "Upgrade the running code of an installed module",
|
||||
longdesc = "In practice, this uninstalls and installs the module",
|
||||
module = ?MODULE, function = upgrade,
|
||||
args_desc = "Module name",
|
||||
args_example = mod_rest,
|
||||
args_desc = ["Module name"],
|
||||
args_example = [<<"mod_rest">>],
|
||||
args = [{module, binary}],
|
||||
result = {res, rescode}},
|
||||
#ejabberd_commands{name = module_check,
|
||||
tags = [admin,modules],
|
||||
desc = "Check the contributed module repository compliance",
|
||||
module = ?MODULE, function = check,
|
||||
args_desc = "Module name",
|
||||
args_example = mod_rest,
|
||||
args_desc = ["Module name"],
|
||||
args_example = [<<"mod_rest">>],
|
||||
args = [{module, binary}],
|
||||
result = {res, rescode}}
|
||||
].
|
||||
|
Loading…
Reference in New Issue
Block a user