Merge PR #3859: Add newline to echo of `gaiacli keys ...`

`gaiacli keys add a123 --multisig a1,a2,a3 --multisig-threshold 2`
`gaiacli keys add temp --recover` with incorrect mnemonic
This commit is contained in:
Frank Yang 2019-03-12 23:10:57 +08:00 committed by Christopher Goes
parent b316c477c1
commit 38796c1036
2 changed files with 4 additions and 2 deletions

View File

@ -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.

View File

@ -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
}