From 5053b97993059f49bb2012ce0145bb8682016da8 Mon Sep 17 00:00:00 2001 From: Techno Freak Date: Sun, 9 May 2021 15:42:48 +0300 Subject: [PATCH] fix: consider bech prefixes when using flags, fixed description --- main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 9e9b746..24b7be1 100644 --- a/main.go +++ b/main.go @@ -37,11 +37,12 @@ var ( var log = zerolog.New(zerolog.ConsoleWriter{Out: os.Stdout}).With().Timestamp().Logger() var rootCmd = &cobra.Command{ - Use: "missed-blocks-checker", - Long: "Tool to monitor missed blocks for Cosmos-chain validators", + Use: "cosmos-exporter", + Long: "Scrape the data about the validators set, specific validators or wallets in the Cosmos network.", PersistentPreRunE: func(cmd *cobra.Command, args []string) error { if ConfigPath == "" { log.Trace().Msg("Config file not provided") + setBechPrefixes(cmd) return nil }