From 9faf443a167c7e9ed0330b80b3d3e93bb0f1c143 Mon Sep 17 00:00:00 2001 From: Billy Zha Date: Thu, 11 Apr 2024 08:02:18 +0000 Subject: [PATCH] chore: add preview feature mark to platform-specific attaching Signed-off-by: Billy Zha --- cmd/oras/root/attach.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/oras/root/attach.go b/cmd/oras/root/attach.go index f55a590d9..ce34eced5 100644 --- a/cmd/oras/root/attach.go +++ b/cmd/oras/root/attach.go @@ -98,7 +98,7 @@ Example - Attach file to the manifest tagged 'v1' in an OCI image layout folder cmd.Flags().StringVarP(&opts.artifactType, "artifact-type", "", "", "artifact type") cmd.Flags().IntVarP(&opts.concurrency, "concurrency", "", 5, "concurrency level") - opts.FlagDescription = "attach to an arch-specific subject" + opts.FlagDescription = "[Preview] attach to an arch-specific subject" _ = cmd.MarkFlagRequired("artifact-type") opts.EnableDistributionSpecFlag() option.ApplyFlags(&opts, cmd.Flags())