mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_admin_shell: Update help for user:create to reflect singular role argument
This commit is contained in:
parent
8ff2f04e4c
commit
6f11c198b3
1 changed files with 1 additions and 1 deletions
|
@ -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')]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue