Skip to content
Snippets Groups Projects
Commit f17a55b2 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

upgrade: tell people that --all is a no-op.

Apparently this is still run by people so let's tell them to save
some typing.
parent cc59e624
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,14 @@ module Homebrew
Homebrew.perform_preinstall_checks
if ARGV.include?("--all")
opoo <<-EOS.undent
We decided to not change the behaviour of `brew upgrade` so
`brew upgrade --all` is equivalent to `brew upgrade` without any other
arguments (so the `--all` is a no-op and can be removed).
EOS
end
if ARGV.named.empty?
outdated = Formula.installed.select do |f|
f.outdated?(fetch_head: ARGV.fetch_head?)
......
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