Skip to content

Commit

Permalink
Fixed argument parsing for command
Browse files Browse the repository at this point in the history
  • Loading branch information
smdahlen committed Apr 9, 2013
1 parent 33c391c commit 655612b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/vagrant-hostmanager/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ def execute
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
Expand Down

0 comments on commit 655612b

Please sign in to comment.