We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bd3067 commit a04f060Copy full SHA for a04f060
cmd/cosign/cli/commands.go
@@ -33,6 +33,7 @@ func New() *cobra.Command {
33
cmd := &cobra.Command{
34
Use: "cosign",
35
DisableAutoGenTag: true,
36
+ SilenceUsage: true, // Don't show usage on errors
37
PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
38
if ro.OutputFile != "" {
39
out, err := os.Create(ro.OutputFile)
0 commit comments