Mention --greedy when no casks were upgraded.
This commit is contained in:
parent
39d2152633
commit
7893d316ab
@ -85,7 +85,9 @@ module Cask
|
|||||||
|
|
||||||
return if outdated_casks.empty?
|
return if outdated_casks.empty?
|
||||||
|
|
||||||
ohai "Casks with `auto_updates` or `version :latest` will not be upgraded" if casks.empty? && !greedy
|
if casks.empty? && !greedy
|
||||||
|
ohai "Casks with `auto_updates` or `version :latest` will not be upgraded; pass `--greedy` to upgrade them."
|
||||||
|
end
|
||||||
|
|
||||||
verb = dry_run ? "Would upgrade" : "Upgrading"
|
verb = dry_run ? "Would upgrade" : "Upgrading"
|
||||||
oh1 "#{verb} #{outdated_casks.count} #{"outdated package".pluralize(outdated_casks.count)}:"
|
oh1 "#{verb} #{outdated_casks.count} #{"outdated package".pluralize(outdated_casks.count)}:"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user