mod_admin_shell: Update help for user:create to reflect singular role argument
authorKim Alvefur <zash@zash.se>
Thu, 18 Aug 2022 18:10:18 +0200
changeset 12674 4a00c8811ea8
parent 12673 aed38948791f
child 12675 32881d0c359f
mod_admin_shell: Update help for user:create to reflect singular role argument
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')]]