hostmanager should not run if we run it with -h

This commit is contained in:
Jan Vansteenkiste 2013-05-01 18:42:55 +02:00
parent 264856478f
commit 61ce04040e
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ module VagrantPlugins
end
argv = parse_options(opts)
return if !argv
options[:provider] ||= @env.default_provider
generate(@env, options[:provider].to_sym)