From 61ce04040ef9d084481ca25014a71fce50675e95 Mon Sep 17 00:00:00 2001 From: Jan Vansteenkiste Date: Wed, 1 May 2013 18:42:55 +0200 Subject: [PATCH] hostmanager should not run if we run it with -h --- 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 b520250..831f08f 100644 --- a/lib/vagrant-hostmanager/command.rb +++ b/lib/vagrant-hostmanager/command.rb @@ -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)