From dbf44bf2a4f700818f34a3153c36e555b27c63f4 Mon Sep 17 00:00:00 2001 From: Barrie Byron Date: Thu, 16 Dec 2021 09:47:01 -0500 Subject: [PATCH] docs: edit username details since I missed #540 (#542) * username details * fixit edit to Update x/pylons/client/cli/tx_account.go Co-authored-by: Barrie Byron --- x/pylons/client/cli/tx_account.go | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/x/pylons/client/cli/tx_account.go b/x/pylons/client/cli/tx_account.go index 3d8fc50846..08d48d301f 100644 --- a/x/pylons/client/cli/tx_account.go +++ b/x/pylons/client/cli/tx_account.go @@ -23,16 +23,14 @@ func CmdCreateAccount() *cobra.Command { Long: ` Create a new account using an existing key from the keyring. -A valid username should respect the following rules : +A valid username must respect the following rules: - Usernames can consist of lowercase and capitals - Usernames can consist of alphanumeric characters - Usernames can consist of underscore and hyphens and spaces - Cannot be two underscores, two hypens or two spaces in a row - Cannot have a underscore, hypen or space at the start or end - Cannot be a valid cosmos SDK address + - Contain alphanumeric characters (a-z, A-Z, 0-9) + - Contain non-repeating underscore (_), hyphen (-), and space characters + - Cannot begin or end with (_), hyphen (-), or space + - Cannot be an existing valid Cosmos SDK address -Note that the username and the key name used to sign the transaction _are not the same_. +Note that the username and the key name that are used to sign the transaction _are not the same_. `, Example: `