Skip to content

Commit

Permalink
fix: update help msg description about pullCmd() (#438)
Browse files Browse the repository at this point in the history
Signed-off-by: Juncheng Zhu <[email protected]>
  • Loading branch information
junczhu authored Jul 5, 2022
1 parent 9b55e71 commit 09fbc0e
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 @@ -50,15 +50,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 09fbc0e

Please sign in to comment.