diff options
| author | Tim Marinin | 2017-07-05 21:49:27 +0300 |
|---|---|---|
| committer | Tim Marinin | 2017-07-10 12:30:58 +0300 |
| commit | 156e19c6dc5d270390dcc7a6b93b3270df7f7ef0 (patch) | |
| tree | cc5eaa33dc961ba80d7436c67e5a16893053f59b | |
| parent | ec91c3f8e23af9c16b7f8304b78484a717abcd03 (diff) | |
| download | brew-156e19c6dc5d270390dcc7a6b93b3270df7f7ef0.tar.bz2 | |
Display "Use `brew upgrade foo` instead" when calling update with args
So the user could just copy-paste the command.
| -rw-r--r-- | Library/Homebrew/cmd/update.sh | 2 |
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 |
