From aa7a99dbea14e072b71248f78adea96f9d76b869 Mon Sep 17 00:00:00 2001 From: Meredith Lancaster Date: Tue, 28 May 2024 13:19:51 -0600 Subject: [PATCH] update flag comment Signed-off-by: Meredith Lancaster --- pkg/cmd/attestation/verify/verify.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/attestation/verify/verify.go b/pkg/cmd/attestation/verify/verify.go index dac56cdef59..c09907ba031 100644 --- a/pkg/cmd/attestation/verify/verify.go +++ b/pkg/cmd/attestation/verify/verify.go @@ -149,8 +149,8 @@ func NewVerifyCmd(f *cmdutil.Factory, runF func(*Options) error) *cobra.Command verifyCmd.Flags().StringVarP(&opts.SAN, "cert-identity", "", "", "Enforce that the certificate's subject alternative name matches the provided value exactly") verifyCmd.Flags().StringVarP(&opts.SANRegex, "cert-identity-regex", "i", "", "Enforce that the certificate's subject alternative name matches the provided regex") verifyCmd.MarkFlagsMutuallyExclusive("cert-identity", "cert-identity-regex") - verifyCmd.Flags().StringVarP(&opts.SignerRepo, "signer-repo", "", "", "Enforce that the attestation signer workflow originated from a given repository") - verifyCmd.Flags().StringVarP(&opts.SignerWorkflow, "signer-workflow", "", "", "Enforce that the attestation signer workflow originated from a given workflow") + verifyCmd.Flags().StringVarP(&opts.SignerRepo, "signer-repo", "", "", "Enforce that the attestation signing originated from a given repository") + verifyCmd.Flags().StringVarP(&opts.SignerWorkflow, "signer-workflow", "", "", "Enforce that the attestation signing originated from a given workflow") verifyCmd.MarkFlagsMutuallyExclusive("signer-repo", "signer-workflow") verifyCmd.MarkFlagsMutuallyExclusive("signer-repo", "cert-identity-regex") verifyCmd.MarkFlagsMutuallyExclusive("signer-workflow", "cert-identity")