Skip to content

oras tag -h shows wrong CLI example #1418

Closed

Description

@qweeah

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.

Activity

  1. added
    bug
    triage
    and removed
    triage
    on Jun 20, 2024
  2. added this to the v1.3.0 milestone on Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions