diff --git a/cmd/oras/internal/option/spec.go b/cmd/oras/internal/option/spec.go index f6a0e24ca..dd49cf975 100644 --- a/cmd/oras/internal/option/spec.go +++ b/cmd/oras/internal/option/spec.go @@ -81,7 +81,7 @@ func (is *ImageSpec) ApplyFlags(fs *pflag.FlagSet) { // default to v1.1, unless --config is used and --artifact-type is not used is.PackVersion = oras.PackManifestVersion1_1 is.Flag = ImageSpecV1_1 - fs.Var(is, "image-spec", `[Experimental] specify manifest type for building artifact. Options: v1.1, v1.0 (default v1.1, overridden to v1.0 if --config is used without --artifact-type)`) + fs.Var(is, "image-spec", `[Preview] specify manifest type for building artifact. Options: v1.1, v1.0 (default v1.1, overridden to v1.0 if --config is used without --artifact-type)`) } // DistributionSpec option struct which implements pflag.Value interface. diff --git a/test/e2e/suite/command/push.go b/test/e2e/suite/command/push.go index 8dfe00c83..6e7b396b1 100644 --- a/test/e2e/suite/command/push.go +++ b/test/e2e/suite/command/push.go @@ -38,7 +38,7 @@ var _ = Describe("ORAS beginners:", func() { When("running push command", func() { It("should show help description with feature flags", func() { out := ORAS("push", "--help").MatchKeyWords(ExampleDesc).Exec().Out - gomega.Expect(out).Should(gbytes.Say("--image-spec string\\s+%s", regexp.QuoteMeta(feature.Experimental.Mark))) + gomega.Expect(out).Should(gbytes.Say("--image-spec string\\s+%s", regexp.QuoteMeta(feature.Preview.Mark))) }) It("should fail and show detailed error description if no argument provided", func() {