summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-03-16 07:33:33 +0530
committersinanmohd <sinan@sinanmohd.com>2024-03-16 09:24:06 +0530
commitc6ae7acc13d243f7fcd2115be1da142678e71f70 (patch)
tree7e4be51b816743bcf55d8238b2554856e07e3a4f /cmd
parentaffa80ee065a41b2afe3a7a12a499a86a88e2950 (diff)
db/Account: Email -> UserName
Diffstat (limited to 'cmd')
-rw-r--r--cmd/redqctl/main.go4
1 files changed, 2 insertions, 2 deletions
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", "",