From 9bf8f2f4cd87f2eb726374bca421decd0760eb5c Mon Sep 17 00:00:00 2001 From: Clinton Wolfe Date: Fri, 3 Jan 2020 13:33:19 -0500 Subject: [PATCH] Adjust usage message for --airgap option Signed-off-by: Clinton Wolfe --- lib/inspec/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/inspec/cli.rb b/lib/inspec/cli.rb index a84840482..20154da89 100644 --- a/lib/inspec/cli.rb +++ b/lib/inspec/cli.rb @@ -173,7 +173,7 @@ class Inspec::InspecCLI < Inspec::BaseCLI desc: "Generates a tar.gz archive." option :overwrite, type: :boolean, default: false, desc: "Overwrite existing archive." - option :airgap, type: :boolean, default: false, + option :airgap, type: :string, default: false, banner: "", # Actually a boolean, but this suppresses the creation of a --no-airgap... desc: "Prefer using existing local archives to fetching profiles." option :ignore_errors, type: :boolean, default: false, desc: "Ignore profile warnings."