Merge pull request #1470 from chef/adamleff/add-dash-v

Add support for "inspec -v" showing the version
This commit is contained in:
Dominik Richter 2017-02-07 21:42:20 +01:00 committed by GitHub
commit 0c66bc1b96

View file

@ -230,6 +230,7 @@ class Inspec::InspecCLI < Inspec::BaseCLI # rubocop:disable Metrics/ClassLength
puts "\nYour version of InSpec is out of date! The latest version is #{latest}."
end
end
map %w{-v --version} => :version
private