oras-project / oras

OCI registry client - managing content like artifacts, images, packages
https://oras.land
Apache License 2.0
1.33k stars 160 forks source link

feat: improve error message when detecting conflicting flags #1345

Closed wangxiaoxuan273 closed 2 months ago

wangxiaoxuan273 commented 2 months ago

What this PR does / why we need it: Improve error message when detecting conflicting flags. Current display: image

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes #1340

Please check the following list:

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.56%. Comparing base (fa65f61) to head (30bdbbc).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1345 +/- ## ========================================== + Coverage 84.51% 84.56% +0.05% ========================================== Files 103 103 Lines 3655 3668 +13 ========================================== + Hits 3089 3102 +13 Misses 337 337 Partials 229 229 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.