diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2015-03-13 11:54:32 +0100 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2015-03-13 11:54:32 +0100 |
commit | 588f98fc3ae2b6e0231e73489a4690e68fbdc660 (patch) | |
tree | 76de3792e4f86be891860a76738e7644338071a4 /src | |
parent | Merge pull request #473 from weiss/escape-space-in-options (diff) |
Rename module function to keep them grouped on help
Diffstat (limited to 'src')
-rw-r--r-- | src/ext_mod.erl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ext_mod.erl b/src/ext_mod.erl index 99b690255..11597ef24 100644 --- a/src/ext_mod.erl +++ b/src/ext_mod.erl @@ -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 = "", |