From 655612b9f650e3a2547542230d3ffb44e33529c4 Mon Sep 17 00:00:00 2001 From: Shawn Dahlen Date: Tue, 9 Apr 2013 15:46:43 -0400 Subject: [PATCH] Fixed argument parsing for command --- lib/vagrant-hostmanager/command.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant-hostmanager/command.rb b/lib/vagrant-hostmanager/command.rb index 10130f6..b520250 100644 --- a/lib/vagrant-hostmanager/command.rb +++ b/lib/vagrant-hostmanager/command.rb @@ -18,9 +18,9 @@ module VagrantPlugins argv = parse_options(opts) options[:provider] ||= @env.default_provider - generate(@env, options[:provider]) + generate(@env, options[:provider].to_sym) - with_target_vms(argv[1..-1], :provider => options[:provider]) do |machine| + with_target_vms(argv, options) do |machine| update(machine) end end