mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
ENHANCE: Add license command to list of allowed commands (#35)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
This commit is contained in:
parent
21b7206306
commit
95c36239f8
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ module Inspec
|
|||
end
|
||||
|
||||
def self.fetch_and_persist_license
|
||||
allowed_commands = ["-h", "--help", "help", "-v", "--version", "version"]
|
||||
allowed_commands = ["-h", "--help", "help", "-v", "--version", "version", "license"]
|
||||
begin
|
||||
if (allowed_commands & ARGV.map(&:downcase)).empty? && !ARGV.empty?
|
||||
license_keys = ChefLicensing.fetch_and_persist
|
||||
|
|
Loading…
Reference in a new issue