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

Improve validation to prevent common mistakes #303

Closed
remkop opened this issue Mar 20, 2018 · 0 comments
Closed

Improve validation to prevent common mistakes #303

remkop opened this issue Mar 20, 2018 · 0 comments

Comments

@remkop
Copy link
Owner

remkop commented Mar 20, 2018

  • If multiple options are marked with usageHelp = true, print a WARN level message
  • If a non-boolean option is marked with usageHelp = true, throw an InitializationException

Similar for versionHelp.

@remkop remkop added this to the 3.0 milestone Mar 20, 2018
@remkop remkop changed the title Improve validation Improve validation to prevent common mistakes Apr 6, 2018
@remkop remkop closed this as completed in b27d82f Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant