Software /
code /
prosody
Changeset
12670:4a00c8811ea8
mod_admin_shell: Update help for user:create to reflect singular role argument
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 18 Aug 2022 18:10:18 +0200 |
parents | 12669:aed38948791f |
children | 12671:32881d0c359f |
files | plugins/mod_admin_shell.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_shell.lua Thu Aug 18 17:50:56 2022 +0200 +++ b/plugins/mod_admin_shell.lua Thu Aug 18 18:10:18 2022 +0200 @@ -268,7 +268,7 @@ print [[host:deactivate(hostname) - Disconnects all clients on this host and deactivates]] print [[host:list() - List the currently-activated hosts]] elseif section == "user" then - print [[user:create(jid, password, roles) - Create the specified user account]] + print [[user:create(jid, password, role) - Create the specified user account]] print [[user:password(jid, password) - Set the password for the specified user account]] print [[user:roles(jid, host) - Show current roles for an user]] print [[user:setrole(jid, host, role) - Set primary role of a user (see 'help roles')]]