aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Petrie2013-04-10 08:47:13 -0600
committerJack Nagel2013-04-11 02:12:59 -0500
commit222b9ebc1bbaa2ec297b96bfe422aaeb48a62239 (patch)
tree0bb5e70a06bd86e6023b047b5d9c15139433d258
parent8c63956ac12d5e81d1471e43382f9b7331356173 (diff)
downloadhomebrew-222b9ebc1bbaa2ec297b96bfe422aaeb48a62239.tar.bz2
doctor: suggest `brew update` in outdated warning
Closes #19106. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-rw-r--r--Library/Homebrew/cmd/doctor.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index a80fd78ed..419d8556c 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -1009,8 +1009,9 @@ def check_for_outdated_homebrew
end
if Time.now.to_i - timestamp > 60 * 60 * 24 then <<-EOS.undent
- Your Homebrew is outdated
+ Your Homebrew is outdated.
You haven't updated for at least 24 hours, this is a long time in brewland!
+ To update Homebrew, run `brew update`.
EOS
end
end