cmd/tendermint/commands: update ParseConfig doc

This commit is contained in:
Emmanuel Odeke
2017-08-12 16:29:08 -06:00
parent 8d7640894d
commit d8af26e75a

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)