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