diff options
| author | Geoff Petrie | 2013-04-10 08:47:13 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-04-11 02:12:59 -0500 |
| commit | 79c745cc76866dc6c33e1108650f71a9760a7e3d (patch) | |
| tree | bece234d3607f1cd40b89fc6d7cbd7b1c5be4e6f | |
| parent | da9078aa51676b03dc8979e8c7f235880a0e2559 (diff) | |
| download | brew-79c745cc76866dc6c33e1108650f71a9760a7e3d.tar.bz2 | |
doctor: suggest `brew update` in outdated warning
Closes Homebrew/homebrew#19106.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 3 |
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 |
