aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-08-18 18:10:18 +0200
committerKim Alvefur <zash@zash.se>2022-08-18 18:10:18 +0200
commit6f11c198b30fc581a2de25cdb3fe0b29c1d48eda (patch)
tree860c6dc2260c1636820aa886442ed5cf9abc05d2
parent8ff2f04e4ce842ae70b0edfaef1d237dc69d6dec (diff)
downloadprosody-6f11c198b30fc581a2de25cdb3fe0b29c1d48eda.tar.gz
prosody-6f11c198b30fc581a2de25cdb3fe0b29c1d48eda.zip
mod_admin_shell: Update help for user:create to reflect singular role argument
-rw-r--r--plugins/mod_admin_shell.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index dcbb4d09..087b8768 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -268,7 +268,7 @@ function commands.help(session, data)
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')]]