From c6ae7acc13d243f7fcd2115be1da142678e71f70 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 16 Mar 2024 07:33:33 +0530 Subject: db/Account: Email -> UserName --- cmd/redqctl/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') diff --git a/cmd/redqctl/main.go b/cmd/redqctl/main.go index f6f9e9e..e60ea85 100644 --- a/cmd/redqctl/main.go +++ b/cmd/redqctl/main.go @@ -32,8 +32,8 @@ func create(args []string, db *redqdb.SafeDB) { ac := &redqdb.Account{} ac.Info = &redqdb.Login{} - f.StringVar(&ac.Email, "email", "", - "The email to associate with the account") + f.StringVar(&ac.UserName, "username", "", + "The username to associate with the account") f.StringVar(&ac.Info.FirstName, "fname", "", "The first name to associate with the account") f.StringVar(&ac.Info.LastName, "lname", "", -- cgit v1.2.3