diff --git a/internal/cmd/attest.go b/internal/cmd/attest.go index 4a3483f..85925e5 100644 --- a/internal/cmd/attest.go +++ b/internal/cmd/attest.go @@ -82,16 +82,18 @@ added to the attestation as subjects }, } - generateCmd.PersistentFlags().BoolVar( + generateCmd.PersistentFlags().BoolVarP( &opts.attach, "attach", + "a", false, "attach the generated attestation to an image", ) - generateCmd.PersistentFlags().BoolVar( + generateCmd.PersistentFlags().BoolVarP( &opts.sign, "sign", + "s", false, "sign the attestation with sigstore", )