diff --git a/PENDING.md b/PENDING.md index 1908cdae5..c87346709 100644 --- a/PENDING.md +++ b/PENDING.md @@ -39,6 +39,8 @@ ### Gaia CLI +* [\#3859](https://github.com/cosmos/cosmos-sdk/pull/3859) Add newline to echo of `gaiacli keys ...` + ### Gaia * #3808 `gaiad` and `gaiacli` integration tests use ./build/ binaries. diff --git a/client/keys/add.go b/client/keys/add.go index c11316d1d..bf5901e65 100644 --- a/client/keys/add.go +++ b/client/keys/add.go @@ -146,7 +146,7 @@ func runAddCmd(_ *cobra.Command, args []string) error { return err } - fmt.Fprintf(os.Stderr, "Key %q saved to disk.", name) + fmt.Fprintf(os.Stderr, "Key %q saved to disk.\n", name) return nil } @@ -216,7 +216,7 @@ func runAddCmd(_ *cobra.Command, args []string) error { } if !bip39.IsMnemonicValid(mnemonic) { - fmt.Fprintf(os.Stderr, "Error: Mnemonic is not valid") + fmt.Fprintf(os.Stderr, "Error: Mnemonic is not valid.\n") return nil }