service: update "user {create,update}" help
This commit is contained in:
parent
24cae474db
commit
b2d9af22c3
@ -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": {
|
||||||
|
Loading…
Reference in New Issue
Block a user