From d8af26e75a72d2c1404142c109218308f079c598 Mon Sep 17 00:00:00 2001 From: Emmanuel Odeke Date: Sat, 12 Aug 2017 16:29:08 -0600 Subject: [PATCH] cmd/tendermint/commands: update ParseConfig doc --- cmd/tendermint/commands/root.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/tendermint/commands/root.go b/cmd/tendermint/commands/root.go index a63d9e46b..a8def87da 100644 --- a/cmd/tendermint/commands/root.go +++ b/cmd/tendermint/commands/root.go @@ -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)