elixir-lang/elixir — pull request #1561 by thmzlt (2013-08-07 08:51:06+00:00)
Title: Option parser invalid options

Closes #1537.

This adds a third element to the tuple returned from OptionParser.parse/2 when the value for an option doesn't match its switch type.