Skip to content

Commit

Permalink
Add Silence usage to rootCmd (#686)
Browse files Browse the repository at this point in the history
* Add Silence usage to rootCmd

* Add changelog
  • Loading branch information
mattverse authored and ValarDragon committed Jan 1, 2022
1 parent f03676c commit cb4c8e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#666](https://github.com/osmosis-labs/osmosis/pull/666) Fix the `--log-level` and `--log-format` commands on `osmosisd start`
- [#655](https://github.com/osmosis-labs/osmosis/pull/655) Make the default genesis for pool-incentives work by default
- [97ac2a8](https://github.com/osmosis-labs/osmosis/commit/97ac2a86303fc8966a4c169107e0945775107e67) Fix InitGenesis bug for gauges
- [#686](https://github.com/osmosis-labs/osmosis/pull/686) Add silence usage to cli to surpress unnecessary help logs

## [v6.0.0](https://github.com/osmosis-labs/osmosis/releases/tag/v6.0.0)

Expand Down
1 change: 1 addition & 0 deletions cmd/osmosisd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) {
customAppTemplate, customAppConfig := initAppConfig()
return server.InterceptConfigsPreRunHandler(cmd, customAppTemplate, customAppConfig)
},
SilenceUsage: true,
}

initRootCmd(rootCmd, encodingConfig)
Expand Down

0 comments on commit cb4c8e9

Please sign in to comment.