From dac4ba3f13e1ecf0db4c2dbafd36c58f6ed4446c Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Fri, 29 Mar 2024 21:00:34 +0100 Subject: [PATCH] fix: remove help display on error with verify command (#4597) --- pkg/commands/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/commands/config.go b/pkg/commands/config.go index b14f1f9b..defb5fb2 100644 --- a/pkg/commands/config.go +++ b/pkg/commands/config.go @@ -49,6 +49,8 @@ func newConfigCommand(log logutils.Log, info BuildInfo) *configCommand { Args: cobra.NoArgs, ValidArgsFunction: cobra.NoFileCompletions, RunE: c.executeVerify, + SilenceUsage: true, + SilenceErrors: true, } configCmd.AddCommand(