rescue OptionParser exceptions #47

Merged
merged 1 commit into from May 26, 2011

Projects

None yet

2 participants

@bschaeffer
Contributor

opts.parse!(args) is rescuable. Catches exceptions for invalid options, etc...

@indirect
Collaborator

You're right, it's much nicer this way. Thanks!

@indirect indirect merged commit 0790ed6 into defunkt:master May 26, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment