diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d01ce65e..b8014dd06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,10 @@ # Changelog -## 0.4.0 (March 30, 2017) +## 0.4.0 (TBD) BREAKING CHANGES: -- CLI now uses Cobra +- CLI now uses Cobra, which forced changes to some of the flag names and orderings IMPROVEMENTS: diff --git a/cmd/commands/utils.go b/cmd/commands/utils.go index 18b856f4d..5dd9635fa 100644 --- a/cmd/commands/utils.go +++ b/cmd/commands/utils.go @@ -38,6 +38,7 @@ func BasecoinRoot(rootDir string) string { func ExecuteWithDebug(RootCmd *cobra.Command) { var debug bool + RootCmd.SilenceUsage = true RootCmd.PersistentFlags().BoolVar(&debug, "debug", false, "enables stack trace error messages") //note that Execute() prints the error if encountered, so no need to reprint the error,