From b2d9af22c3fdc3a9a966f3de51b0f82fc3bbbae5 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Mon, 30 Jan 2023 22:12:04 +0300 Subject: [PATCH] service: update "user {create,update}" help --- service.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service.go b/service.go index d0b7f99..533b7d6 100644 --- a/service.go +++ b/service.go @@ -278,14 +278,14 @@ func init() { admin: true, }, "create": { - usage: "-username -password [-realname ] [-admin]", + usage: "-username -password [-disable-password] [-admin true|false] [-nick ] [-realname ] [-enabled true|false]", desc: "create a new soju user", handle: handleUserCreate, admin: true, }, "update": { - usage: "[-password ] [-realname ]", - desc: "update the current user", + usage: "[username] [-password ] [-disable-password] [-admin true|false] [-nick ] [-realname ] [-enabled true|false]", + desc: "update a user", handle: handleUserUpdate, }, "delete": {