Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update help msg description about pullCmd() #438

Merged
merged 1 commit into from
Jul 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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