Skip to content
Snippets Groups Projects
Commit cfc5fed7 authored by Xu Cheng's avatar Xu Cheng
Browse files

update: fix fork bomb caused by `brew update --help`


Fixes Homebrew/homebrew#49334.

Closes Homebrew/homebrew#49343.

Signed-off-by: default avatarXu Cheng <xucheng@me.com>
parent d431f20d
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,8 @@ homebrew-update() {
for option in "$@"
do
case "$option" in
--help) brew update --help; exit $? ;;
# TODO: - `brew update --help` should display update subcommand help
--help) brew --help; exit $? ;;
--verbose) HOMEBREW_VERBOSE=1 ;;
--debug) HOMEBREW_DEBUG=1;;
--rebase) HOMEBREW_REBASE=1 ;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment