You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect description of the --no-tty flag for oras discover #1630
The description of the --no-tty flag for the oras discover command in the help docs is "do not show progress output", which is not appropriate, because oras discover does not have status output anyway.
What did you expect to happen?
The description could be something like "disable terminal-specific output"?
How can we reproduce it?
oras discover -h
What is the version of your ORAS CLI?
Version: 1.3.0-beta.1
Go version: go1.23.4
OS/Arch: linux/amd64
Git commit: 2ca02f6f6514200366df26ba9ef6d1b311629dad
Git tree state: clean
The no-tty flag has three behaviors for oras commands: turn off progress bars (for cp), turn off colors (for discover) and no effect (for repo ls). We need to move the flag out from option.Common and move it to each command to give different descriptions.
Activity
wangxiaoxuan273 commentedon Apr 18, 2025
The
no-ttyflag has three behaviors for oras commands: turn off progress bars (forcp), turn off colors (fordiscover) and no effect (forrepo ls). We need to move the flag out fromoption.Commonand move it to each command to give different descriptions.