mirror of
https://github.com/inspec/inspec
synced 2024-11-15 09:27:20 +00:00
Merge pull request #1470 from chef/adamleff/add-dash-v
Add support for "inspec -v" showing the version
This commit is contained in:
commit
0c66bc1b96
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue