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 cmdline help message for custom options with two or more metavars #2019

Merged

Conversation

nicoddemus
Copy link
Member

While fixing this I noticed pytest's own --override-ini help is wrong:

 -o [OVERRIDE_INI [OVERRIDE_INI ...]], --override-ini=[OVERRIDE_INI=[OVERRIDE_INI=...]]

With this PR:

  -o [OVERRIDE_INI [OVERRIDE_INI ...]], --override-ini=[OVERRIDE_INI [OVERRIDE_INI ...]]

Fix #2004

@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.849% when pulling 620b384 on nicoddemus:fix-metavar-pair-help into 5cbfefb on pytest-dev:master.

@RonnyPfannschmidt RonnyPfannschmidt merged commit 82fb63c into pytest-dev:master Oct 20, 2016
@nicoddemus nicoddemus deleted the fix-metavar-pair-help branch October 20, 2016 23:39
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.

Pytest options with more than one metavar don't have the correct help
3 participants