alphagov/vcloud-tools — pull request #6 by samjsharpe (2013-11-05 14:08:41+00:00)
Title: Fix coercing of opts to string in help output

Without this change:

```
$ bundle exec bin/vcloud-query -h
bin/vcloud-query:42:in `abort': can't convert OptionParser into String (TypeError)
from bin/vcloud-query:42:in `block (2 levels) in parse_args'
from /opt/boxen/rbenv/versions/1.9.3-p448/lib/ruby/1.9.1/optparse.rb:1391:in `call'
from /opt/boxen/rbenv/versions/1.9.3-p448/lib/ruby/1.9.1/optparse.rb:1391:in `block in parse_in_order'
from /opt/boxen/rbenv/versions/1.9.3-p448/lib/ruby/1.9.1/optparse.rb:1347:in `catch'
from /opt/boxen/rbenv/versions/1.9.3-p448/lib/ruby/1.9.1/optparse.rb:1347:in `parse_in_order'
from /opt/boxen/rbenv/versions/1.9.3-p448/lib/ruby/1.9.1/optparse.rb:1341:in `order!'
from /opt/boxen/rbenv/versions/1.9.3-p448/lib/ruby/1.9.1/optparse.rb:1432:in `permute!'
from /opt/boxen/rbenv/versions/1.9.3-p448/lib/ruby/1.9.1/optparse.rb:1453:in `parse!'
from bin/vcloud-query:47:in `parse_args'
from bin/vcloud-query:59:in `

'
```

With this change I get the expected help output.