Skip to content

usage output of oras tag list is wrong #1233

@qweeah

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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions