From 2e78389516501a74d639498b5c99acbaf6d90ebe Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Wed, 27 Oct 2021 02:09:55 -0400 Subject: [PATCH] Improve `HOMEBREW_INSTALL_FROM_API` description --- Library/Homebrew/env_config.rb | 3 ++- docs/Manpage.md | 2 ++ manpages/brew.1 | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index b0039ae23f..ee7636e5c3 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -191,7 +191,8 @@ module Homebrew }, HOMEBREW_INSTALL_FROM_API: { description: "If set, install formulae and casks in homebrew/core and homebrew/cask taps using Homebrew's " \ - "API instead of needing (large, slow) local checkouts of these repositories.", + "API instead of needing (large, slow) local checkouts of these repositories." \ + "\n\n *Note:* Users with developer mode enabled cannot set HOMEBREW_INSTALL_FROM_API.", boolean: true, }, HOMEBREW_LIVECHECK_WATCHLIST: { diff --git a/docs/Manpage.md b/docs/Manpage.md index e4b09b2a20..d66d7c894b 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -2032,6 +2032,8 @@ example, run `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just - `HOMEBREW_INSTALL_FROM_API`
If set, install formulae and casks in homebrew/core and homebrew/cask taps using Homebrew's API instead of needing (large, slow) local checkouts of these repositories. + *Note:* Users with developer mode enabled cannot set HOMEBREW_INSTALL_FROM_API. + - `HOMEBREW_LIVECHECK_WATCHLIST`
Consult this file for the list of formulae to check by default when no formula argument is passed to `brew livecheck`. diff --git a/manpages/brew.1 b/manpages/brew.1 index 81bbfc2982..4af992273f 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -2933,6 +2933,9 @@ Print this text before the installation summary of each successful build\. .br If set, install formulae and casks in homebrew/core and homebrew/cask taps using Homebrew\'s API instead of needing (large, slow) local checkouts of these repositories\. . +.IP +\fINote:\fR Users with developer mode enabled cannot set HOMEBREW_INSTALL_FROM_API\. +. .TP \fBHOMEBREW_LIVECHECK_WATCHLIST\fR .