Skip to content

Commit

Permalink
fix: update help msg description about pullCmd() (oras-project#438)
Browse files Browse the repository at this point in the history
Signed-off-by: Juncheng Zhu <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
junczhu authored and qweeah committed Jul 7, 2022
1 parent fc48c79 commit 89e8a89
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cmd/oras/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89e8a89

Please sign in to comment.