Skip to content

Help message is not properly rendered for oras attach #1225

@shizhMSFT

Description

@shizhMSFT

What happened in your environment?

$ oras attach --help
...
Flags:
...
      --distribution-spec string                   [Preview] set OCI distribution spec version and API option for target. Options: %!(EXTRA string=v1.1-referrers-tag, v1.1-referrers-api)
...

Options is not rendered correctly.

What did you expect to happen?

It should be corrected as

Options: v1.1-referrers-tag, v1.1-referrers-api

How can we reproduce it?

Run oras attach --help

What is the version of your ORAS CLI?

Version: 1.1.0+unreleased
Go version: go1.21.0
Git commit: 564bd32
Git tree state: clean

What is your OS environment?

Ubuntu 22.04

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriageNew issues or PRs to be acknowledged by maintainers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions