Skip to content

Commit 7cccf5a

Browse files
authored
Do not overprint usage help on error in arduino-app-cli
1 parent 983f8d9 commit 7cccf5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/arduino-app-cli/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ func main() {
2828
Short: "A CLI to manage the Python app",
2929
PersistentPreRun: func(cmd *cobra.Command, args []string) {
3030
},
31+
SilenceUsage: true,
32+
SilenceErrors: true,
3133
}
3234

3335
rootCmd.AddCommand(

0 commit comments

Comments
 (0)