mitsuhiko/click — pull request #54 by fgimian (2014-05-02 00:10:13+00:00)
Title: Repaired incorrect call to fail function in optparse

Hello, just fixing a little error in the optparse module :smile:

I came across this while typing an invalid option to my click script and getting the following exception:

```
Traceback (most recent call last):
File "./clicker3.py", line 15, in
hello()
File "/home/fots/.pyenv/versions/flaskage/lib/python2.6/site-packages/click/core.py", line 390, in __call__
return self.main(*args, **kwargs)
File "/home/fots/.pyenv/versions/flaskage/lib/python2.6/site-packages/click/core.py", line 373, in main
with self.make_context(prog_name, args, **extra) as ctx:
File "/home/fots/.pyenv/versions/flaskage/lib/python2.6/site-packages/click/core.py", line 309, in make_context
opts, args = ctx._parser.parse_args(args=args)
File "/home/fots/.pyenv/versions/flaskage/lib/python2.6/site-packages/click/_optparse.py", line 358, in parse_args
self._process_args(largs, rargs, values)
File "/home/fots/.pyenv/versions/flaskage/lib/python2.6/site-packages/click/_optparse.py", line 378, in _process_args
self._process_short_opts(rargs, values)
File "/home/fots/.pyenv/versions/flaskage/lib/python2.6/site-packages/click/_optparse.py", line 473, in _process_short_opts
self.fail('no such option: %s' % opt)
AttributeError: '_SimplifiedOptionParser' object has no attribute 'fail'
```

Cheers
Fotis