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
Thanks @TerryHowe. Looking at those changes, it seems that the behavior is different across commands. For example, if I try --verbose with oras login, it fails. With oras cp it works with a deprecation statement:
./oras cp --verbose
Flag --verbose has been deprecated, and will be removed in a future release.
Error: "oras cp" requires exactly 2 argument but got 0
Usage: oras cp [flags] <from>{:<tag>|@<digest>} <to>[:<tag>[,<tag>][...]]
Please specify exactly 2 argument as the source and destination for copying. Run "oras cp -h"for more options and examples
Without --verbose for oras login I still get some verbose output:
However, from a consumer perspective I think would be good to maintain the --verbose in ALL commands with the deprecation statement, essentially the behavior of oras cp --verbose and then only in a future release remove it entirely.
What happened in your environment?
The
--verbose flag
was removed in 1.3.0-beta.2:In previous versions (e.g. 1.1.0) it used to work:
What did you expect to happen?
--verbose
should continue to work in version 1.3.0-beta.2.How can we reproduce it?
Try to use any subcommand with the
--verbose
flag.What is the version of your ORAS CLI?
Version: 1.3.0-beta.2
Go version: go1.24.0
OS/Arch: darwin/amd64
Git commit: 87379d2
Git tree state: clean
What is your OS environment?
Mac OS Sonoma (14.7.2)
Are you willing to submit PRs to fix it?
The text was updated successfully, but these errors were encountered: