davetron5000/gli — pull request #91 by v-yarotsky (2012-06-06 22:04:48+00:00)
Title: Fix default command

Hi there again :)
```#default_command``` didn't work.
if you write something like:
```ruby
# ...
include GLI::App

command :foo do |c|
c.action do |*args|
# ...
end
end

default_command :foo

exit run(ARGV)
```
then you'll actually see help, because the default command was not passed to GLIOptionParser, which finds a command to execute.
So, here is the fix ;)

P.S. also I've fixed a bug with ```#reset``` method, it was clearing all commands, though initially commands include 'help'