Merge pull request #609 from orijtech/parseConfig-doc-update

cmd/tendermint/commands: update ParseConfig doc
This commit is contained in:
Ethan Buchman 2017-08-21 13:55:45 -04:00 committed by GitHub
commit bc9092d7db
1 changed files with 2 additions and 1 deletions

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)