# HG changeset patch # User Kim Alvefur # Date 1660839018 -7200 # Node ID 4a00c8811ea8d805a2e1d2b2658dbecbbd2c6448 # Parent aed38948791f76eb04cb97c2e1cf4de3f27610d2 mod_admin_shell: Update help for user:create to reflect singular role argument diff -r aed38948791f -r 4a00c8811ea8 plugins/mod_admin_shell.lua --- 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')]]