Skip to content

Commit

Permalink
Merge pull request #7 from vStone/feature/fix_run_after_help
Browse files Browse the repository at this point in the history
hostmanager should not run if we run it with -h
  • Loading branch information
smdahlen committed May 2, 2013
2 parents 2648564 + 61ce040 commit 36acc16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/vagrant-hostmanager/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ def execute
end

argv = parse_options(opts)
return if !argv

options[:provider] ||= @env.default_provider

generate(@env, options[:provider].to_sym)
Expand Down

0 comments on commit 36acc16

Please sign in to comment.