Skip to content

Commit

Permalink
#127: init messages refer to command name
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Jun 27, 2017
1 parent 8c7bf25 commit ad5c129
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/basecoin/commands/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ func initCmd(cmd *cobra.Command, args []string) error {
}

if (mod1 + mod2 + mod3) > 0 {
logger.Info("Initialized Basecoin", "genesis", genesisFile, "priv_validator", privValFile)
msg := fmt.Sprintf("Initialized %s", cmd.Root().Name())
logger.Info(msg, "genesis", genesisFile, "priv_validator", privValFile)
} else {
logger.Info("Already initialized", "priv_validator", privValFile)
}
Expand Down

0 comments on commit ad5c129

Please sign in to comment.