25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Rename module function to keep them grouped on help

This commit is contained in:
Christophe Romain 2015-03-13 11:54:32 +01:00
parent 4a58101014
commit 588f98fc3a

View File

@ -53,14 +53,14 @@ stop() ->
ejabberd_commands:unregister_commands(commands()).
commands() ->
[#ejabberd_commands{name = update_modules_specs,
[#ejabberd_commands{name = modules_update_specs,
tags = [admin,modules],
desc = "",
longdesc = "",
module = ?MODULE, function = update,
args = [],
result = {res, integer}},
#ejabberd_commands{name = available_modules,
#ejabberd_commands{name = modules_available,
tags = [admin,modules],
desc = "",
longdesc = "",
@ -70,7 +70,7 @@ commands() ->
{module, {tuple,
[{name, atom},
{summary, string}]}}}}},
#ejabberd_commands{name = installed_modules,
#ejabberd_commands{name = modules_installed,
tags = [admin,modules],
desc = "",
longdesc = "",
@ -80,28 +80,28 @@ commands() ->
{module, {tuple,
[{name, atom},
{summary, string}]}}}}},
#ejabberd_commands{name = install_module,
#ejabberd_commands{name = module_install,
tags = [admin,modules],
desc = "",
longdesc = "",
module = ?MODULE, function = install,
args = [{module, binary}],
result = {res, integer}},
#ejabberd_commands{name = uninstall_module,
#ejabberd_commands{name = module_uninstall,
tags = [admin,modules],
desc = "",
longdesc = "",
module = ?MODULE, function = uninstall,
args = [{module, binary}],
result = {res, integer}},
#ejabberd_commands{name = upgrade_module,
#ejabberd_commands{name = module_upgrade,
tags = [admin,modules],
desc = "",
longdesc = "",
module = ?MODULE, function = upgrade,
args = [{module, binary}],
result = {res, integer}},
#ejabberd_commands{name = check_module,
#ejabberd_commands{name = module_check,
tags = [admin,modules],
desc = "",
longdesc = "",