~emersion/soju-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] service: update "user {create,update}" help

Details
Message ID
<20230130191204.12685-1-vyivel@eclair.cafe>
DKIM signature
missing
Download raw message
Patch: +3 -3
---
 service.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/service.go b/service.go
index d0b7f99..5a79527 100644
--- a/service.go
+++ b/service.go
@@ -278,14 +278,14 @@ func init() {
					admin:  true,
				},
				"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",
					handle: handleUserCreate,
					admin:  true,
				},
				"update": {
					usage:  "[-password <password>] [-realname <realname>]",
					desc:   "update the current user",
					usage:  "[username] [-disable-password] [-admin true|false] [-nick <nick>] [-realname <realname>] [-enabled true|false]",
					desc:   "update a user",
					handle: handleUserUpdate,
				},
				"delete": {
-- 
2.39.1
Details
Message ID
<SyT0DPVLgwXWInKJdOm1mX660jc_9u3d9BVupJfHKPzN9NxjnXncfGZ7x3myuq2eISZ-goJDtJIOxYTCZO5Bn34aHV4yE_kULBpD72XNTks=@emersion.fr>
In-Reply-To
<20230130191204.12685-1-vyivel@eclair.cafe> (view parent)
DKIM signature
missing
Download raw message
Pushed with a minor fix: -password was dropped for "user update".
Thanks!
Reply to thread Export thread (mbox)