From f66907ebba70939bb604337bb2137bf3ff9d8dab Mon Sep 17 00:00:00 2001 From: Nick Miyake Date: Wed, 14 Aug 2024 00:06:43 -0700 Subject: [PATCH] docs: fix typo in help text of 'attach' command (#1477) 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'