From 902a1403d009dd4e2173e2469bc6511c57092c91 Mon Sep 17 00:00:00 2001 From: Till Faelligen Date: Sun, 6 Jun 2021 19:16:19 +0200 Subject: [PATCH] Fix typo --- cmd/create-account/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/create-account/main.go b/cmd/create-account/main.go index 075662a43..d8e8ccf56 100644 --- a/cmd/create-account/main.go +++ b/cmd/create-account/main.go @@ -56,7 +56,7 @@ var ( password = flag.String("password", "", "The password to associate with the account (optional, account will be password-less if not specified)") pwdFile = flag.String("passwordfile", "", "The file to use for the password (e.g. for automated account creation)") pwdStdin = flag.Bool("passwordstdin", false, "Reads the password from stdin") - askPAss = flag.Bool("ask-pass", false, "Ask for the password to use.") + askPass = flag.Bool("ask-pass", false, "Ask for the password to use") ) func main() { @@ -72,7 +72,7 @@ func main() { os.Exit(1) } - pass := getPassword(password, pwdFile, pwdStdin, askPAss, os.Stdin) + pass := getPassword(password, pwdFile, pwdStdin, askPass, os.Stdin) accountDB, err := accounts.NewDatabase(&config.DatabaseOptions{ ConnectionString: cfg.UserAPI.AccountDatabase.ConnectionString,