Skip to content
Snippets Groups Projects
Commit 70ec2a78 authored by Martin Afanasjew's avatar Martin Afanasjew
Browse files

ARGV: stop supporting --homebrew-developer option


Homebrew developers have the corresponding variable permanently set in
their environment and wanting to appear like a Homebrew developer for a
single invocation is exceedingly rare. Additionally, the option won't be
recognized by `bin/brew`. (It is also undocumented.)

Using `HOMEBREW_DEVELOPER=1 brew <command>` is still possible, and not
more inconvenient than passing the `--homebrew-developer` option.

Closes Homebrew/homebrew#48322.

Signed-off-by: default avatarMartin Afanasjew <martin@afanasjew.de>
parent e6f946d2
No related branches found
No related tags found
No related merge requests found
......@@ -475,7 +475,7 @@ _brew_style ()
local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in
--*)
__brewcomp "--fix --homebrew-developer"
__brewcomp "--fix"
return
;;
esac
......
......@@ -125,7 +125,7 @@ module HomebrewArgvExtension
end
def homebrew_developer?
include?("--homebrew-developer") || !ENV["HOMEBREW_DEVELOPER"].nil?
!ENV["HOMEBREW_DEVELOPER"].nil?
end
def sandbox?
......
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