From b7cf3396bb827e4f1a93467f666ada03fa330466 Mon Sep 17 00:00:00 2001 From: Nick Miyake Date: Tue, 13 Aug 2024 15:30:10 -0700 Subject: [PATCH] Fix typo in help text of 'attach' command Signed-off-by: Nick Miyake --- 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 4c094862a..89a570210 100644 --- a/cmd/oras/root/attach.go +++ b/cmd/oras/root/attach.go @@ -55,7 +55,7 @@ func attachCmd() *cobra.Command { ** This command is in preview and under development. ** -Example - Attach file 'hi.txt' with aritifact type 'doc/example' to manifest 'hello:v1' in registry 'localhost:5000': +Example - Attach file 'hi.txt' with artifact type 'doc/example' to manifest 'hello:v1' in registry 'localhost:5000': oras attach --artifact-type doc/example localhost:5000/hello:v1 hi.txt Example - Attach file 'hi.txt' to a specific artifact with platform 'linux/amd64' in multi-arch index 'hello:v1'