From b67661407fd2d8c71ca302a149b2ca5fbecb7cec Mon Sep 17 00:00:00 2001 From: Jan Vansteenkiste Date: Thu, 2 May 2013 21:44:02 +0200 Subject: [PATCH] Respond to "vagrant hostmanager -v" and display our version --- lib/vagrant-hostmanager/command.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/vagrant-hostmanager/command.rb b/lib/vagrant-hostmanager/command.rb index 831f08f..a3cebd6 100644 --- a/lib/vagrant-hostmanager/command.rb +++ b/lib/vagrant-hostmanager/command.rb @@ -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|