From e8a13cfed3153301335b5afa18df25708db404fb Mon Sep 17 00:00:00 2001 From: Phill MV Date: Tue, 4 Jun 2024 15:52:54 -0400 Subject: [PATCH] replaced deprecated --json-result flag with --format=json in the gh at docstring. --- pkg/cmd/attestation/verify/verify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/attestation/verify/verify.go b/pkg/cmd/attestation/verify/verify.go index 99e7403e1..526194d93 100644 --- a/pkg/cmd/attestation/verify/verify.go +++ b/pkg/cmd/attestation/verify/verify.go @@ -52,7 +52,7 @@ func NewVerifyCmd(f *cmdutil.Factory, runF func(*Options) error) *cobra.Command provide a path to the %[1]s--bundle%[1]s flag. To see the full results that are generated upon successful verification, i.e. - for use with a policy engine, provide the %[1]s--json-result%[1]s flag. + for use with a policy engine, provide the %[1]s--format=json%[1]s flag. The attestation's certificate's Subject Alternative Name (SAN) identifies the entity responsible for creating the attestation, which most of the time will be a GitHub