From 6f7ccccc1a8c697c08b86896fe355e9e71923f28 Mon Sep 17 00:00:00 2001 From: Tony Vu Date: Wed, 5 Apr 2017 14:46:57 -0700 Subject: [PATCH] (maint) Don't attempt to provision when using help --- lib/beaker/cli.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/beaker/cli.rb b/lib/beaker/cli.rb index 0f2a43bbb6..20db3ea6d0 100644 --- a/lib/beaker/cli.rb +++ b/lib/beaker/cli.rb @@ -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