Skip to content
Snippets Groups Projects
Commit 7893d316 authored by Markus Reiter's avatar Markus Reiter
Browse files

Mention `--greedy` when no casks were upgraded.

parent 39d21526
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,9 @@ module Cask
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"
oh1 "#{verb} #{outdated_casks.count} #{"outdated package".pluralize(outdated_casks.count)}:"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment