Homebrew has two commands with similar names - update
and upgrade
.
Update is intended to update brew itself while upgrade is used to update individual formula.
This division is confusing to some.
Therefore here are shell functions for bash and zsh that reroute update to upgrade if a formula name is given.