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

Fix error message for unknown keys #935

Merged
merged 3 commits into from
Oct 7, 2014

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Oct 7, 2014

We now include the correct CLI argument name in the
error message, before we were using the xformed py_name,
which would give use things like --foo_bar instead of --foo-bar.

Error messages for unknown keys now looks like:

Error parsing parameter '--policy-attributes': Unknown key 'name', valid choices are: AttributeName, AttributeValue

cc @danielgtaylor @kyleknap

We now include the correct CLI argument name in the
error message, before we were using the xformed py_name,
which would give use things like --foo_bar instead of --foo-bar.

Error messages for unknown keys now looks like:

```
Error parsing parameter '--policy-attributes': Unknown key 'name', valid choices are: AttributeName, AttributeValue
```
@kyleknap
Copy link
Contributor

kyleknap commented Oct 7, 2014

Looks good 🚢

@jamesls jamesls merged commit e8da4d6 into aws:develop Oct 7, 2014
thoward-godaddy pushed a commit to thoward-godaddy/aws-cli that referenced this pull request Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants