cask upgrade: add message about auto_updates and :latest
This commit is contained in:
parent
6d1f99fa5f
commit
eb1271304f
@ -26,6 +26,7 @@ module Hbc
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
ohai "Casks with `auto_updates` or `version :latest` will not be upgraded" if args.empty?
|
||||||
oh1 "Upgrading #{Formatter.pluralize(outdated_casks.length, "outdated package")}, with result:"
|
oh1 "Upgrading #{Formatter.pluralize(outdated_casks.length, "outdated package")}, with result:"
|
||||||
puts outdated_casks.map { |f| "#{f.full_name} #{f.version}" } * ", "
|
puts outdated_casks.map { |f| "#{f.full_name} #{f.version}" } * ", "
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user