Don't try to fool Thor's option type checker for --airgap on archive command

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
Clinton Wolfe 2020-02-06 11:02:50 -05:00
parent 40966bc039
commit 8a05908a87

View file

@ -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: :string, default: false, banner: "", # Actually a boolean, but this suppresses the creation of a --no-airgap...
option :airgap, type: :boolean, banner: "",
desc: "Fallback to using local archives if fetching fails."
option :ignore_errors, type: :boolean, default: false,
desc: "Ignore profile warnings."