Display "Use brew upgrade foo instead" when calling update with args
So the user could just copy-paste the command.
This commit is contained in:
parent
ec91c3f8e2
commit
156e19c6dc
@ -336,7 +336,7 @@ homebrew-update() {
|
|||||||
*)
|
*)
|
||||||
odie <<EOS
|
odie <<EOS
|
||||||
This command updates brew itself, and does not take formula names.
|
This command updates brew itself, and does not take formula names.
|
||||||
Use 'brew upgrade <formula>'.
|
Use 'brew upgrade $@' instead.
|
||||||
EOS
|
EOS
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user