From 10d5c498eb3d522144e727e30298898af7701d06 Mon Sep 17 00:00:00 2001 From: Dan Luhring Date: Fri, 18 Feb 2022 08:44:50 -0500 Subject: [PATCH] Fix wording on attach attestation help (#1480) Signed-off-by: Dan Luhring --- cmd/cosign/cli/options/attach.go | 2 +- doc/cosign_attach_attestation.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/cosign/cli/options/attach.go b/cmd/cosign/cli/options/attach.go index bc81c873538c..f6ce3025cedc 100644 --- a/cmd/cosign/cli/options/attach.go +++ b/cmd/cosign/cli/options/attach.go @@ -88,5 +88,5 @@ func (o *AttachAttestationOptions) AddFlags(cmd *cobra.Command) { o.Registry.AddFlags(cmd) cmd.Flags().StringVar(&o.Attestation, "attestation", "", - "path to the predicate") + "path to the attestation envelope") } diff --git a/doc/cosign_attach_attestation.md b/doc/cosign_attach_attestation.md index ed0f928f7a82..e480bcfca75f 100644 --- a/doc/cosign_attach_attestation.md +++ b/doc/cosign_attach_attestation.md @@ -17,7 +17,7 @@ cosign attach attestation [flags] ``` --allow-insecure-registry whether to allow insecure connections to registries. Don't use this for anything but testing --attachment-tag-prefix [AttachmentTagPrefix]sha256-[TargetImageDigest].[AttachmentName] optional custom prefix to use for attached image tags. Attachment images are tagged as: [AttachmentTagPrefix]sha256-[TargetImageDigest].[AttachmentName] - --attestation string path to the predicate + --attestation string path to the attestation envelope -h, --help help for attestation --k8s-keychain whether to use the kubernetes keychain instead of the default keychain (supports workload identity). ```