Skip to content

Commit

Permalink
Clean up CLI output during error
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Aug 28, 2020
1 parent 1b58990 commit 443dfb5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/cli/cmds/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ var (

func App() *cobra.Command {
root := command.Command(&Fleet{}, cobra.Command{
Version: version.FriendlyVersion(),
Version: version.FriendlyVersion(),
SilenceUsage: true,
SilenceErrors: true,
})

command.AddDebug(root, &Debug)
Expand Down

0 comments on commit 443dfb5

Please sign in to comment.