Respond to "vagrant hostmanager -v" and display our version

This commit is contained in:
Jan Vansteenkiste 2013-05-02 21:44:02 +02:00
parent c98ddd338e
commit b67661407f
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ module VagrantPlugins
opts = OptionParser.new do |o|
o.banner = 'Usage: vagrant hostmanager [vm-name]'
o.separator ''
o.version = VagrantPlugins::HostManager::VERSION
o.program_name = 'vagrant hostmanager'
o.on('--provider provider', String,
'Update machines with the specific provider.') do |provider|