cask upgrade: add message about auto_updates and :latest

This commit is contained in:
commitay 2018-07-12 15:53:00 +10:00
parent 6d1f99fa5f
commit eb1271304f

View File

@ -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}" } * ", "