Add plaintext flags to show keys; default print response to true; helptext updates

Closes #1970
Closes #1971
Closes #1967
Closes #1969
This commit is contained in:
Matthew Slipper
2018-08-21 15:36:53 -07:00
parent 204762b2a1
commit 0c0d282a0c
7 changed files with 99 additions and 182 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ func ShowValidatorCmd(ctx *Context) *cobra.Command {
func UnsafeResetAllCmd(ctx *Context) *cobra.Command {
return &cobra.Command{
Use: "unsafe-reset-all",
Short: "Reset blockchain database, priv_validator.json file, and the logger",
Short: "Resets the blockchain database, removes address book files, and resets priv_validator.json to the genesis state",
RunE: func(cmd *cobra.Command, args []string) error {
cfg := ctx.Config
tcmd.ResetAll(cfg.DBDir(), cfg.P2P.AddrBookFile(), cfg.PrivValidatorFile(), ctx.Logger)