aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorGeoff Petrie2013-04-10 08:47:13 -0600
committerJack Nagel2013-04-11 02:12:59 -0500
commit79c745cc76866dc6c33e1108650f71a9760a7e3d (patch)
treebece234d3607f1cd40b89fc6d7cbd7b1c5be4e6f /Library
parentda9078aa51676b03dc8979e8c7f235880a0e2559 (diff)
downloadbrew-79c745cc76866dc6c33e1108650f71a9760a7e3d.tar.bz2
doctor: suggest `brew update` in outdated warning
Closes Homebrew/homebrew#19106. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-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