Skip to content

usage output of oras tag list is wrong #1233

Closed

Description

@qweeah

What happened in your environment?

There is a duplicated tag in the output

$ oras tag list
Error: there is no "list" sub-command for "oras tag" command
Usage: oras tag tag [flags] <name>{:<tag>|@<digest>} <new_tag> [...]
If you want to list available tags in a repository, use "oras repo tags"

What did you expect to happen?

$ oras tag list
Error: there is no "list" sub-command for "oras tag" command
Usage: oras tag [flags] <name>{:<tag>|@<digest>} <new_tag> [...]
If you want to list available tags in a repository, use "oras repo tags"

How can we reproduce it?

Run oras tag list with a build version from main branch with commit 040c11c

What is the version of your ORAS CLI?

Main branch build from 040c11c

What is your OS environment?

22.04

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.

Activity

  1. added
    bug
    triage
    on Jan 8, 2024
  2. added this to the v1.2.0 milestone on Jan 8, 2024
  3. removed
    triage
    on Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions