service: update "user {create,update}" help

This commit is contained in:
Kirill Primak 2023-01-30 22:12:04 +03:00 committed by Simon Ser
parent 24cae474db
commit b2d9af22c3

View File

@ -278,14 +278,14 @@ func init() {
admin: true, admin: true,
}, },
"create": { "create": {
usage: "-username <username> -password <password> [-realname <realname>] [-admin]", usage: "-username <username> -password <password> [-disable-password] [-admin true|false] [-nick <nick>] [-realname <realname>] [-enabled true|false]",
desc: "create a new soju user", desc: "create a new soju user",
handle: handleUserCreate, handle: handleUserCreate,
admin: true, admin: true,
}, },
"update": { "update": {
usage: "[-password <password>] [-realname <realname>]", usage: "[username] [-password <password>] [-disable-password] [-admin true|false] [-nick <nick>] [-realname <realname>] [-enabled true|false]",
desc: "update the current user", desc: "update a user",
handle: handleUserUpdate, handle: handleUserUpdate,
}, },
"delete": { "delete": {