-
Notifications
You must be signed in to change notification settings - Fork 201
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
What happened in your environment?
I run oras tag -h
and it shows wrong CLI example for tagging a manifest in an OCI image layout
> oras tag -h
Tag a manifest in a registry or an OCI image layout
...
Example - Tag the manifest 'v1.0.1' to 'v1.0.2' in an OCI image layout folder 'layout-dir':
oras tag layout-dir:v1.0.1 v1.0.2
...
What did you expect to happen?
The example should be
Example - Tag the manifest 'v1.0.1' to 'v1.0.2' in an OCI image layout folder 'layout-dir':
oras tag --oci-layout layout-dir:v1.0.1 v1.0.2
How can we reproduce it?
oras tag -h
What is the version of your ORAS CLI?
Version: 1.2.0
Go version: go1.22.3
Git commit: dcef719
Git tree state: clean
What is your OS environment?
Ubuntu 20.04
Are you willing to submit PRs to fix it?
- Yes, I am willing to fix it.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working