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

OptionParser documentation improvement #6131

Merged
merged 1 commit into from May 26, 2018
Merged

OptionParser documentation improvement #6131

merged 1 commit into from May 26, 2018

Conversation

masukomi
Copy link
Contributor

Expanded the example to show a typical example of how to handle invalid options being passed to your app.

I couldn't figure out how to do this, and had to dig through the source code to figure it out. Others shouldn't have to.

Expanded the example to show how to handle invalid options.
@RX14 RX14 added this to the 0.25.0 milestone May 26, 2018
@RX14 RX14 merged commit 3c887de into crystal-lang:master May 26, 2018
chris-huxtable pushed a commit to chris-huxtable/crystal that referenced this pull request Jun 6, 2018
Expanded the example to show how to handle invalid options.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants