aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTim Marinin2017-07-05 21:49:27 +0300
committerTim Marinin2017-07-10 12:30:58 +0300
commit156e19c6dc5d270390dcc7a6b93b3270df7f7ef0 (patch)
treecc5eaa33dc961ba80d7436c67e5a16893053f59b /Library
parentec91c3f8e23af9c16b7f8304b78484a717abcd03 (diff)
downloadbrew-156e19c6dc5d270390dcc7a6b93b3270df7f7ef0.tar.bz2
Display "Use `brew upgrade foo` instead" when calling update with args
So the user could just copy-paste the command.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh
index 77a5c1cd2..fb6a3459c 100644
--- a/Library/Homebrew/cmd/update.sh
+++ b/Library/Homebrew/cmd/update.sh
@@ -336,7 +336,7 @@ homebrew-update() {
*)
odie <<EOS
This command updates brew itself, and does not take formula names.
-Use 'brew upgrade <formula>'.
+Use 'brew upgrade $@' instead.
EOS
;;
esac