Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-friendly error message #482

Open
reuvenharrison opened this issue Feb 4, 2024 · 0 comments
Open

Non-friendly error message #482

reuvenharrison opened this issue Feb 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@reuvenharrison
Copy link
Collaborator

reuvenharrison commented Feb 4, 2024

Describe the bug
Non friendly error message when passing wrong values in the cmd-line.

To Reproduce
Steps to reproduce the behavior:

oasdiff changelog data/common-params/params_in_path.yaml data/common-params/params_in_op.yaml --flatten-params=x

Outputs:

Error: invalid argument "x" for "--flatten-params" flag: strconv.ParseBool: parsing "x": invalid syntax

Expected behavior
Message shouldn't mention strconv.ParseBool

Desktop (please complete the following information):

  • OS: macos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant