Skip to content

Commit

Permalink
chore: fix flags
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno committed Oct 30, 2021
1 parent b1337e8 commit a70a7e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@ func main() {
rootCmd.PersistentFlags().StringVar(&LogLevel, "log-level", "info", "Logging level")
rootCmd.PersistentFlags().StringVar(&RemoteTendermintRpc, "remote-tendermint-rpc", "https://rpc.cosmos.network:443", "Remote Tendermint RPC address")
rootCmd.PersistentFlags().StringVar(&LocalTendermintRpc, "local-tendermint-rpc", "http://localhost:26657", "Local Tendermint RPC address")
rootCmd.PersistentFlags().StringVar(&BinaryPath, "binary-path", "cosmos", "Binary path to get version from")
rootCmd.PersistentFlags().StringVar(&GithubOrg, "github-org", "gaia", "Github organization name")
rootCmd.PersistentFlags().StringVar(&GithubRepo, "github-repo", "hub", "Github repository name")
rootCmd.PersistentFlags().StringVar(&BinaryPath, "binary-path", "gaia", "Binary path to get version from")
rootCmd.PersistentFlags().StringVar(&GithubOrg, "github-org", "cosmos", "Github organization name")
rootCmd.PersistentFlags().StringVar(&GithubRepo, "github-repo", "gaia", "Github repository name")

if err := rootCmd.Execute(); err != nil {
log.Fatal().Err(err).Msg("Could not start application")
Expand Down

0 comments on commit a70a7e4

Please sign in to comment.