Browse Source

cmd/tendermint/commands: update ParseConfig doc

pull/609/head
Emmanuel Odeke 7 years ago
parent
commit
d8af26e75a
No known key found for this signature in database GPG Key ID: 1CA47A292F89DD40
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      cmd/tendermint/commands/root.go

+ 2
- 1
cmd/tendermint/commands/root.go View File

@ -21,7 +21,8 @@ func init() {
RootCmd.PersistentFlags().String("log_level", config.LogLevel, "Log level")
}
// ParseConfig will setup the tendermint configuration properly
// ParseConfig retrieves the default environment configuration,
// sets up the Tendermint root and ensures that the root exists
func ParseConfig() (*cfg.Config, error) {
conf := cfg.DefaultConfig()
err := viper.Unmarshal(conf)


Loading…
Cancel
Save