davetron5000/gli — pull request #90 by v-yarotsky (2012-06-05 23:37:57+00:00)
Title: Failing test for negative and non-negatable switch

Hi. I believe I found an inconsistency :)

```ruby
c.desc "Do not use colorful output"
c.switch 'no-color', :negatable => false
c.action do |global,options,args|
formatter = global[:"no-color"] ? PlainFormatter.new : FancyFormatter.new
# ...
end
```
I think there's no sense keeping such a switch negatable.
And here comes the problem: if I pass ```--no-color``` when running my app – I'm getting ```global[:"no-color"] == false```, which is bearable, as we get no such key in parsed options unless ```--no-color``` passed, but obviously it is inconvenient.
What I've found is that it's kinda OptionParser behavior, and I decided not to touch the OptionParserFactory, as I'll definitely mess it up :)
So, here is the failing test...