Merge pull request #7 from vStone/feature/fix_run_after_help
hostmanager should not run if we run it with -h
This commit is contained in:
commit
36acc16c62
|
@ -16,6 +16,8 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
|
|
||||||
argv = parse_options(opts)
|
argv = parse_options(opts)
|
||||||
|
return if !argv
|
||||||
|
|
||||||
options[:provider] ||= @env.default_provider
|
options[:provider] ||= @env.default_provider
|
||||||
|
|
||||||
generate(@env, options[:provider].to_sym)
|
generate(@env, options[:provider].to_sym)
|
||||||
|
|
Loading…
Reference in New Issue