From 89e8a89a855bc20a37ba4f5a93e29eb4d74dd6e9 Mon Sep 17 00:00:00 2001 From: JunczhuMSFT <74894646+CharingJC@users.noreply.github.com> Date: Tue, 5 Jul 2022 21:37:34 +0800 Subject: [PATCH] fix: update help msg description about pullCmd() (#438) Signed-off-by: Juncheng Zhu Signed-off-by: Billy Zha --- cmd/oras/pull.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cmd/oras/pull.go b/cmd/oras/pull.go index 9a4e7dc4e..0bbdc0ea1 100644 --- a/cmd/oras/pull.go +++ b/cmd/oras/pull.go @@ -51,15 +51,9 @@ func pullCmd() *cobra.Command { Short: "Pull files from remote registry", Long: `Pull files from remote registry -Example - Pull only files with the "application/vnd.oci.image.layer.v1.tar" media type (default): +Example - Pull all files: oras pull localhost:5000/hello:latest -Example - Pull only files with the custom "application/vnd.me.hi" media type: - oras pull localhost:5000/hello:latest -t application/vnd.me.hi - -Example - Pull all files, any media type: - oras pull localhost:5000/hello:latest -a - Example - Pull files from the insecure registry: oras pull localhost:5000/hello:latest --insecure