|
|
@ -38,6 +38,9 @@ var RootCmd = &cobra.Command{ |
|
|
|
Use: "tendermint", |
|
|
|
Short: "Tendermint Core (BFT Consensus) in Go", |
|
|
|
PersistentPreRunE: func(cmd *cobra.Command, args []string) (err error) { |
|
|
|
if cmd.Name() == versionCmd.Name() { |
|
|
|
return nil |
|
|
|
} |
|
|
|
config, err = ParseConfig() |
|
|
|
if err != nil { |
|
|
|
return err |
|
|
|