Skip to content

Commit

Permalink
Merge pull request #1369 from tvpartytonight/maint_fix_optionsparser_…
Browse files Browse the repository at this point in the history
…help

(maint) Don't attempt to provision when using help
  • Loading branch information
nwolfe authored Apr 5, 2017
2 parents 111aa9f + 6f7cccc commit a131c6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/beaker/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ def print_version_and_options

#Provision, validate and configure all hosts as defined in the hosts file
def provision
# return self if only invoking the OptionsParser help
return self if @options[:help]

begin
@hosts = []
initialize_network_manager
Expand Down

0 comments on commit a131c6f

Please sign in to comment.