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
For all ORAS commands (login, logout, pull, push, attach, discover, copy), if the number of input argument doesn't match expected, user will get errors like:
Error: accepts X arg(s), received Y
It could confuse users who are not familiar with cobra concepts. E.g. they might think number of flags doesn't meet what is expected.
We need to provide more clear details for the error, including:
what is expected
what is got from input
The text was updated successfully, but these errors were encountered:
For all ORAS commands (login, logout, pull, push, attach, discover, copy), if the number of input argument doesn't match expected, user will get errors like:
It could confuse users who are not familiar with cobra concepts. E.g. they might think number of flags doesn't meet what is expected.
We need to provide more clear details for the error, including:
The text was updated successfully, but these errors were encountered: