docs: monospace suggested values
This commit is contained in:
parent
7698cf2098
commit
e63b1f4da5
@ -50,7 +50,8 @@ module Cask
|
|||||||
if !language && language_blocks
|
if !language && language_blocks
|
||||||
sample_languages = if language_blocks.length > LANGUAGE_BLOCK_LIMIT && !@audit_new_cask
|
sample_languages = if language_blocks.length > LANGUAGE_BLOCK_LIMIT && !@audit_new_cask
|
||||||
sample_keys = language_blocks.keys.sample(LANGUAGE_BLOCK_LIMIT)
|
sample_keys = language_blocks.keys.sample(LANGUAGE_BLOCK_LIMIT)
|
||||||
ohai "Auditing a sample of available languages for #{cask}: #{sample_keys.map { |lang| lang[0].to_s }.to_sentence}"
|
ohai "Auditing a sample of available languages for #{cask}: " \
|
||||||
|
"#{sample_keys.map { |lang| lang[0].to_s }.to_sentence}"
|
||||||
language_blocks.select { |k| sample_keys.include?(k) }
|
language_blocks.select { |k| sample_keys.include?(k) }
|
||||||
else
|
else
|
||||||
language_blocks
|
language_blocks
|
||||||
|
@ -27,7 +27,7 @@ module Cask
|
|||||||
# @api private
|
# @api private
|
||||||
def self.all(eval_all: false)
|
def self.all(eval_all: false)
|
||||||
if !eval_all && !Homebrew::EnvConfig.eval_all?
|
if !eval_all && !Homebrew::EnvConfig.eval_all?
|
||||||
raise ArgumentError, "Cask::Cask#all cannot be used without --eval-all or HOMEBREW_EVAL_ALL"
|
raise ArgumentError, "Cask::Cask#all cannot be used without `--eval-all` or HOMEBREW_EVAL_ALL"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Load core casks from tokens so they load from the API when the core cask is not tapped.
|
# Load core casks from tokens so they load from the API when the core cask is not tapped.
|
||||||
|
@ -139,7 +139,7 @@ module Homebrew
|
|||||||
}],
|
}],
|
||||||
[:switch, "--adopt", {
|
[:switch, "--adopt", {
|
||||||
description: "Adopt existing artifacts in the destination that are identical to those being installed. " \
|
description: "Adopt existing artifacts in the destination that are identical to those being installed. " \
|
||||||
"Cannot be combined with --force.",
|
"Cannot be combined with `--force`.",
|
||||||
}],
|
}],
|
||||||
[:switch, "--skip-cask-deps", {
|
[:switch, "--skip-cask-deps", {
|
||||||
description: "Skip installing cask dependencies.",
|
description: "Skip installing cask dependencies.",
|
||||||
|
@ -14,7 +14,7 @@ module Homebrew
|
|||||||
Pin the specified <formula>, preventing them from being upgraded when
|
Pin the specified <formula>, preventing them from being upgraded when
|
||||||
issuing the `brew upgrade` <formula> command. See also `unpin`.
|
issuing the `brew upgrade` <formula> command. See also `unpin`.
|
||||||
|
|
||||||
Note: Other packages which depend on newer versions of a pinned formula
|
*Note:* Other packages which depend on newer versions of a pinned formula
|
||||||
might not install or run correctly.
|
might not install or run correctly.
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ module Homebrew
|
|||||||
}],
|
}],
|
||||||
[:switch, "--adopt", {
|
[:switch, "--adopt", {
|
||||||
description: "Adopt existing artifacts in the destination that are identical to those being installed. " \
|
description: "Adopt existing artifacts in the destination that are identical to those being installed. " \
|
||||||
"Cannot be combined with --force.",
|
"Cannot be combined with `--force`.",
|
||||||
}],
|
}],
|
||||||
[:switch, "--skip-cask-deps", {
|
[:switch, "--skip-cask-deps", {
|
||||||
description: "Skip installing cask dependencies.",
|
description: "Skip installing cask dependencies.",
|
||||||
|
@ -326,7 +326,7 @@ module Homebrew
|
|||||||
return ofail "Formula not installed or up-to-date: #{formula.full_name}"
|
return ofail "Formula not installed or up-to-date: #{formula.full_name}"
|
||||||
end
|
end
|
||||||
unless Utils::Bottles.built_as? formula
|
unless Utils::Bottles.built_as? formula
|
||||||
return ofail "Formula was not installed with --build-bottle: #{formula.full_name}"
|
return ofail "Formula was not installed with `--build-bottle`: #{formula.full_name}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -36,15 +36,15 @@ module Homebrew
|
|||||||
HOMEBREW_API_AUTO_UPDATE_SECS: {
|
HOMEBREW_API_AUTO_UPDATE_SECS: {
|
||||||
description: "Check Homebrew's API for new formulae or cask data every " \
|
description: "Check Homebrew's API for new formulae or cask data every " \
|
||||||
"`HOMEBREW_API_AUTO_UPDATE_SECS` seconds. Alternatively, disable API auto-update " \
|
"`HOMEBREW_API_AUTO_UPDATE_SECS` seconds. Alternatively, disable API auto-update " \
|
||||||
"checks entirely with HOMEBREW_NO_AUTO_UPDATE.",
|
"checks entirely with `HOMEBREW_NO_AUTO_UPDATE`.",
|
||||||
default: 450,
|
default: 450,
|
||||||
},
|
},
|
||||||
HOMEBREW_AUTO_UPDATE_SECS: {
|
HOMEBREW_AUTO_UPDATE_SECS: {
|
||||||
description: "Run `brew update` once every `HOMEBREW_AUTO_UPDATE_SECS` seconds before some commands, " \
|
description: "Run `brew update` once every `HOMEBREW_AUTO_UPDATE_SECS` seconds before some commands, " \
|
||||||
"e.g. `brew install`, `brew upgrade` and `brew tap`. Alternatively, " \
|
"e.g. `brew install`, `brew upgrade` and `brew tap`. Alternatively, " \
|
||||||
"disable auto-update entirely with `HOMEBREW_NO_AUTO_UPDATE`.",
|
"disable auto-update entirely with `HOMEBREW_NO_AUTO_UPDATE`.",
|
||||||
default_text: "86400 (24 hours), 3600 (1 hour) if a developer command has been run " \
|
default_text: "`86400` (24 hours), `3600` (1 hour) if a developer command has been run " \
|
||||||
"or 300 (5 minutes) if `HOMEBREW_NO_INSTALL_FROM_API` is set.",
|
"or `300` (5 minutes) if `HOMEBREW_NO_INSTALL_FROM_API` is set.",
|
||||||
},
|
},
|
||||||
HOMEBREW_AUTOREMOVE: {
|
HOMEBREW_AUTOREMOVE: {
|
||||||
description: "If set, calls to `brew cleanup` and `brew uninstall` will automatically " \
|
description: "If set, calls to `brew cleanup` and `brew uninstall` will automatically " \
|
||||||
@ -178,7 +178,7 @@ module Homebrew
|
|||||||
},
|
},
|
||||||
HOMEBREW_EVAL_ALL: {
|
HOMEBREW_EVAL_ALL: {
|
||||||
description: "If set, `brew` commands evaluate all formulae and casks, executing their arbitrary code, by " \
|
description: "If set, `brew` commands evaluate all formulae and casks, executing their arbitrary code, by " \
|
||||||
"default without requiring --eval-all. Required to cache formula and cask descriptions.",
|
"default without requiring `--eval-all`. Required to cache formula and cask descriptions.",
|
||||||
boolean: true,
|
boolean: true,
|
||||||
},
|
},
|
||||||
HOMEBREW_FAIL_LOG_LINES: {
|
HOMEBREW_FAIL_LOG_LINES: {
|
||||||
@ -356,7 +356,7 @@ module Homebrew
|
|||||||
},
|
},
|
||||||
HOMEBREW_SORBET_RUNTIME: {
|
HOMEBREW_SORBET_RUNTIME: {
|
||||||
description: "If set, enable runtime typechecking using Sorbet. " \
|
description: "If set, enable runtime typechecking using Sorbet. " \
|
||||||
"Set by default for HOMEBREW_DEVELOPER or when running some developer commands.",
|
"Set by default for `HOMEBREW_DEVELOPER` or when running some developer commands.",
|
||||||
boolean: true,
|
boolean: true,
|
||||||
},
|
},
|
||||||
HOMEBREW_SSH_CONFIG_PATH: {
|
HOMEBREW_SSH_CONFIG_PATH: {
|
||||||
|
@ -436,7 +436,7 @@ class FormulaConflictError < RuntimeError
|
|||||||
Please `brew unlink #{conflicts.map(&:name) * " "}` before continuing.
|
Please `brew unlink #{conflicts.map(&:name) * " "}` before continuing.
|
||||||
|
|
||||||
Unlinking removes a formula's symlinks from #{HOMEBREW_PREFIX}. You can
|
Unlinking removes a formula's symlinks from #{HOMEBREW_PREFIX}. You can
|
||||||
link the formula again after the install finishes. You can --force this
|
link the formula again after the install finishes. You can `--force` this
|
||||||
install, but the build may fail or cause obscure side effects in the
|
install, but the build may fail or cause obscure side effects in the
|
||||||
resulting software.
|
resulting software.
|
||||||
EOS
|
EOS
|
||||||
|
@ -1933,7 +1933,7 @@ class Formula
|
|||||||
# @private
|
# @private
|
||||||
def self.all(eval_all: false)
|
def self.all(eval_all: false)
|
||||||
if !eval_all && !Homebrew::EnvConfig.eval_all?
|
if !eval_all && !Homebrew::EnvConfig.eval_all?
|
||||||
raise ArgumentError, "Formula#all without --eval-all or HOMEBREW_EVAL_ALL"
|
raise ArgumentError, "Formula#all without `--eval-all` or HOMEBREW_EVAL_ALL"
|
||||||
end
|
end
|
||||||
|
|
||||||
(core_names + tap_files).map do |name_or_file|
|
(core_names + tap_files).map do |name_or_file|
|
||||||
|
@ -28,7 +28,7 @@ module Utils
|
|||||||
return if @print_backtrace_message
|
return if @print_backtrace_message
|
||||||
|
|
||||||
opoo "Removed Sorbet lines from backtrace!"
|
opoo "Removed Sorbet lines from backtrace!"
|
||||||
puts "Rerun with --verbose to see the original backtrace" unless Homebrew::EnvConfig.no_env_hints?
|
puts "Rerun with `--verbose` to see the original backtrace" unless Homebrew::EnvConfig.no_env_hints?
|
||||||
|
|
||||||
@print_backtrace_message = true
|
@print_backtrace_message = true
|
||||||
end
|
end
|
||||||
|
@ -572,7 +572,7 @@ module GitHub
|
|||||||
These #{state} pull requests may be duplicates:
|
These #{state} pull requests may be duplicates:
|
||||||
#{pull_requests.map { |pr| "#{pr["title"]} #{pr["html_url"]}" }.join("\n")}
|
#{pull_requests.map { |pr| "#{pr["title"]} #{pr["html_url"]}" }.join("\n")}
|
||||||
EOS
|
EOS
|
||||||
error_message = "Duplicate PRs should not be opened. Use --force to override this error."
|
error_message = "Duplicate PRs should not be opened. Use `--force` to override this error."
|
||||||
if args.force? && !args.quiet?
|
if args.force? && !args.quiet?
|
||||||
opoo duplicates_message
|
opoo duplicates_message
|
||||||
elsif !args.force? && args.quiet?
|
elsif !args.force? && args.quiet?
|
||||||
|
@ -814,7 +814,7 @@ __fish_brew_complete_arg 'info; and not __fish_seen_argument -l formula -l formu
|
|||||||
|
|
||||||
__fish_brew_complete_cmd 'instal' 'Install a formula or cask'
|
__fish_brew_complete_cmd 'instal' 'Install a formula or cask'
|
||||||
__fish_brew_complete_arg 'instal' -l HEAD -d 'If formula defines it, install the HEAD version, aka. main, trunk, unstable, master'
|
__fish_brew_complete_arg 'instal' -l HEAD -d 'If formula defines it, install the HEAD version, aka. main, trunk, unstable, master'
|
||||||
__fish_brew_complete_arg 'instal' -l adopt -d 'Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with --force'
|
__fish_brew_complete_arg 'instal' -l adopt -d 'Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`'
|
||||||
__fish_brew_complete_arg 'instal' -l appdir -d 'Target location for Applications (default: `/Applications`)'
|
__fish_brew_complete_arg 'instal' -l appdir -d 'Target location for Applications (default: `/Applications`)'
|
||||||
__fish_brew_complete_arg 'instal' -l audio-unit-plugindir -d 'Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)'
|
__fish_brew_complete_arg 'instal' -l audio-unit-plugindir -d 'Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)'
|
||||||
__fish_brew_complete_arg 'instal' -l binaries -d 'Disable/enable linking of helper executables (default: enabled)'
|
__fish_brew_complete_arg 'instal' -l binaries -d 'Disable/enable linking of helper executables (default: enabled)'
|
||||||
@ -868,7 +868,7 @@ __fish_brew_complete_arg 'instal; and not __fish_seen_argument -l formula -l for
|
|||||||
|
|
||||||
__fish_brew_complete_cmd 'install' 'Install a formula or cask'
|
__fish_brew_complete_cmd 'install' 'Install a formula or cask'
|
||||||
__fish_brew_complete_arg 'install' -l HEAD -d 'If formula defines it, install the HEAD version, aka. main, trunk, unstable, master'
|
__fish_brew_complete_arg 'install' -l HEAD -d 'If formula defines it, install the HEAD version, aka. main, trunk, unstable, master'
|
||||||
__fish_brew_complete_arg 'install' -l adopt -d 'Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with --force'
|
__fish_brew_complete_arg 'install' -l adopt -d 'Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`'
|
||||||
__fish_brew_complete_arg 'install' -l appdir -d 'Target location for Applications (default: `/Applications`)'
|
__fish_brew_complete_arg 'install' -l appdir -d 'Target location for Applications (default: `/Applications`)'
|
||||||
__fish_brew_complete_arg 'install' -l audio-unit-plugindir -d 'Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)'
|
__fish_brew_complete_arg 'install' -l audio-unit-plugindir -d 'Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)'
|
||||||
__fish_brew_complete_arg 'install' -l binaries -d 'Disable/enable linking of helper executables (default: enabled)'
|
__fish_brew_complete_arg 'install' -l binaries -d 'Disable/enable linking of helper executables (default: enabled)'
|
||||||
@ -1268,7 +1268,7 @@ __fish_brew_complete_arg 'readall' -a '(__fish_brew_suggest_taps_installed)'
|
|||||||
|
|
||||||
|
|
||||||
__fish_brew_complete_cmd 'reinstall' 'Uninstall and then reinstall a formula or cask using the same options it was originally installed with, plus any appended options specific to a formula'
|
__fish_brew_complete_cmd 'reinstall' 'Uninstall and then reinstall a formula or cask using the same options it was originally installed with, plus any appended options specific to a formula'
|
||||||
__fish_brew_complete_arg 'reinstall' -l adopt -d 'Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with --force'
|
__fish_brew_complete_arg 'reinstall' -l adopt -d 'Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`'
|
||||||
__fish_brew_complete_arg 'reinstall' -l appdir -d 'Target location for Applications (default: `/Applications`)'
|
__fish_brew_complete_arg 'reinstall' -l appdir -d 'Target location for Applications (default: `/Applications`)'
|
||||||
__fish_brew_complete_arg 'reinstall' -l audio-unit-plugindir -d 'Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)'
|
__fish_brew_complete_arg 'reinstall' -l audio-unit-plugindir -d 'Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)'
|
||||||
__fish_brew_complete_arg 'reinstall' -l binaries -d 'Disable/enable linking of helper executables (default: enabled)'
|
__fish_brew_complete_arg 'reinstall' -l binaries -d 'Disable/enable linking of helper executables (default: enabled)'
|
||||||
|
@ -1027,7 +1027,7 @@ _brew_info() {
|
|||||||
_brew_instal() {
|
_brew_instal() {
|
||||||
_arguments \
|
_arguments \
|
||||||
'(--cask)--HEAD[If formula defines it, install the HEAD version, aka. main, trunk, unstable, master]' \
|
'(--cask)--HEAD[If formula defines it, install the HEAD version, aka. main, trunk, unstable, master]' \
|
||||||
'(--formula --force)--adopt[Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with --force]' \
|
'(--formula --force)--adopt[Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`]' \
|
||||||
'(--formula)--appdir[Target location for Applications (default: `/Applications`)]' \
|
'(--formula)--appdir[Target location for Applications (default: `/Applications`)]' \
|
||||||
'(--formula)--audio-unit-plugindir[Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)]' \
|
'(--formula)--audio-unit-plugindir[Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)]' \
|
||||||
'(--formula)--binaries[Disable/enable linking of helper executables (default: enabled)]' \
|
'(--formula)--binaries[Disable/enable linking of helper executables (default: enabled)]' \
|
||||||
@ -1085,7 +1085,7 @@ _brew_instal() {
|
|||||||
_brew_install() {
|
_brew_install() {
|
||||||
_arguments \
|
_arguments \
|
||||||
'(--cask)--HEAD[If formula defines it, install the HEAD version, aka. main, trunk, unstable, master]' \
|
'(--cask)--HEAD[If formula defines it, install the HEAD version, aka. main, trunk, unstable, master]' \
|
||||||
'(--formula --force)--adopt[Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with --force]' \
|
'(--formula --force)--adopt[Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`]' \
|
||||||
'(--formula)--appdir[Target location for Applications (default: `/Applications`)]' \
|
'(--formula)--appdir[Target location for Applications (default: `/Applications`)]' \
|
||||||
'(--formula)--audio-unit-plugindir[Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)]' \
|
'(--formula)--audio-unit-plugindir[Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)]' \
|
||||||
'(--formula)--binaries[Disable/enable linking of helper executables (default: enabled)]' \
|
'(--formula)--binaries[Disable/enable linking of helper executables (default: enabled)]' \
|
||||||
@ -1569,7 +1569,7 @@ _brew_readall() {
|
|||||||
# brew reinstall
|
# brew reinstall
|
||||||
_brew_reinstall() {
|
_brew_reinstall() {
|
||||||
_arguments \
|
_arguments \
|
||||||
'(--formula)--adopt[Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with --force]' \
|
'(--formula)--adopt[Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`]' \
|
||||||
'(--formula)--appdir[Target location for Applications (default: `/Applications`)]' \
|
'(--formula)--appdir[Target location for Applications (default: `/Applications`)]' \
|
||||||
'(--formula)--audio-unit-plugindir[Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)]' \
|
'(--formula)--audio-unit-plugindir[Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)]' \
|
||||||
'(--formula)--binaries[Disable/enable linking of helper executables (default: enabled)]' \
|
'(--formula)--binaries[Disable/enable linking of helper executables (default: enabled)]' \
|
||||||
|
@ -392,7 +392,7 @@ is already installed but outdated.
|
|||||||
* `--[no-]quarantine`:
|
* `--[no-]quarantine`:
|
||||||
Disable/enable quarantining of downloads (default: enabled).
|
Disable/enable quarantining of downloads (default: enabled).
|
||||||
* `--adopt`:
|
* `--adopt`:
|
||||||
Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with --force.
|
Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`.
|
||||||
* `--skip-cask-deps`:
|
* `--skip-cask-deps`:
|
||||||
Skip installing cask dependencies.
|
Skip installing cask dependencies.
|
||||||
* `--zap`:
|
* `--zap`:
|
||||||
@ -541,7 +541,7 @@ information is displayed in interactive shells, and suppressed otherwise.
|
|||||||
Pin the specified *`formula`*, preventing them from being upgraded when
|
Pin the specified *`formula`*, preventing them from being upgraded when
|
||||||
issuing the `brew upgrade` *`formula`* command. See also `unpin`.
|
issuing the `brew upgrade` *`formula`* command. See also `unpin`.
|
||||||
|
|
||||||
Note: Other packages which depend on newer versions of a pinned formula
|
*Note:* Other packages which depend on newer versions of a pinned formula
|
||||||
might not install or run correctly.
|
might not install or run correctly.
|
||||||
|
|
||||||
### `postinstall`, `post_install` *`installed_formula`* [...]
|
### `postinstall`, `post_install` *`installed_formula`* [...]
|
||||||
@ -624,7 +624,7 @@ reinstalled formulae or, every 30 days, for all formulae.
|
|||||||
* `--[no-]quarantine`:
|
* `--[no-]quarantine`:
|
||||||
Disable/enable quarantining of downloads (default: enabled).
|
Disable/enable quarantining of downloads (default: enabled).
|
||||||
* `--adopt`:
|
* `--adopt`:
|
||||||
Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with --force.
|
Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`.
|
||||||
* `--skip-cask-deps`:
|
* `--skip-cask-deps`:
|
||||||
Skip installing cask dependencies.
|
Skip installing cask dependencies.
|
||||||
* `--zap`:
|
* `--zap`:
|
||||||
@ -2122,14 +2122,14 @@ command execution e.g. `$(cat file)`.
|
|||||||
<br>Prefix all download URLs, including those for bottles, with this value. For example, `HOMEBREW_ARTIFACT_DOMAIN=http://localhost:8080` will cause a formula with the URL `https://example.com/foo.tar.gz` to instead download from `http://localhost:8080/https://example.com/foo.tar.gz`. Bottle URLs however, have their domain replaced with this prefix. This results in e.g. `https://ghcr.io/v2/homebrew/core/gettext/manifests/0.21` to instead be downloaded from `http://localhost:8080/v2/homebrew/core/gettext/manifests/0.21`
|
<br>Prefix all download URLs, including those for bottles, with this value. For example, `HOMEBREW_ARTIFACT_DOMAIN=http://localhost:8080` will cause a formula with the URL `https://example.com/foo.tar.gz` to instead download from `http://localhost:8080/https://example.com/foo.tar.gz`. Bottle URLs however, have their domain replaced with this prefix. This results in e.g. `https://ghcr.io/v2/homebrew/core/gettext/manifests/0.21` to instead be downloaded from `http://localhost:8080/v2/homebrew/core/gettext/manifests/0.21`
|
||||||
|
|
||||||
- `HOMEBREW_API_AUTO_UPDATE_SECS`
|
- `HOMEBREW_API_AUTO_UPDATE_SECS`
|
||||||
<br>Check Homebrew's API for new formulae or cask data every `HOMEBREW_API_AUTO_UPDATE_SECS` seconds. Alternatively, disable API auto-update checks entirely with HOMEBREW_NO_AUTO_UPDATE.
|
<br>Check Homebrew's API for new formulae or cask data every `HOMEBREW_API_AUTO_UPDATE_SECS` seconds. Alternatively, disable API auto-update checks entirely with `HOMEBREW_NO_AUTO_UPDATE`.
|
||||||
|
|
||||||
*Default:* `450`.
|
*Default:* `450`.
|
||||||
|
|
||||||
- `HOMEBREW_AUTO_UPDATE_SECS`
|
- `HOMEBREW_AUTO_UPDATE_SECS`
|
||||||
<br>Run `brew update` once every `HOMEBREW_AUTO_UPDATE_SECS` seconds before some commands, e.g. `brew install`, `brew upgrade` and `brew tap`. Alternatively, disable auto-update entirely with `HOMEBREW_NO_AUTO_UPDATE`.
|
<br>Run `brew update` once every `HOMEBREW_AUTO_UPDATE_SECS` seconds before some commands, e.g. `brew install`, `brew upgrade` and `brew tap`. Alternatively, disable auto-update entirely with `HOMEBREW_NO_AUTO_UPDATE`.
|
||||||
|
|
||||||
*Default:* 86400 (24 hours), 3600 (1 hour) if a developer command has been run or 300 (5 minutes) if `HOMEBREW_NO_INSTALL_FROM_API` is set.
|
*Default:* `86400` (24 hours), `3600` (1 hour) if a developer command has been run or `300` (5 minutes) if `HOMEBREW_NO_INSTALL_FROM_API` is set.
|
||||||
|
|
||||||
- `HOMEBREW_AUTOREMOVE`
|
- `HOMEBREW_AUTOREMOVE`
|
||||||
<br>If set, calls to `brew cleanup` and `brew uninstall` will automatically remove unused formula dependents and if `HOMEBREW_NO_INSTALL_CLEANUP` is not set, `brew cleanup` will start running `brew autoremove` periodically.
|
<br>If set, calls to `brew cleanup` and `brew uninstall` will automatically remove unused formula dependents and if `HOMEBREW_NO_INSTALL_CLEANUP` is not set, `brew cleanup` will start running `brew autoremove` periodically.
|
||||||
@ -2240,7 +2240,7 @@ command execution e.g. `$(cat file)`.
|
|||||||
*Default:* `$EDITOR` or `$VISUAL`.
|
*Default:* `$EDITOR` or `$VISUAL`.
|
||||||
|
|
||||||
- `HOMEBREW_EVAL_ALL`
|
- `HOMEBREW_EVAL_ALL`
|
||||||
<br>If set, `brew` commands evaluate all formulae and casks, executing their arbitrary code, by default without requiring --eval-all. Required to cache formula and cask descriptions.
|
<br>If set, `brew` commands evaluate all formulae and casks, executing their arbitrary code, by default without requiring `--eval-all`. Required to cache formula and cask descriptions.
|
||||||
|
|
||||||
- `HOMEBREW_FAIL_LOG_LINES`
|
- `HOMEBREW_FAIL_LOG_LINES`
|
||||||
<br>Output this many lines of output on formula `system` failures.
|
<br>Output this many lines of output on formula `system` failures.
|
||||||
@ -2368,7 +2368,7 @@ command execution e.g. `$(cat file)`.
|
|||||||
<br>If set along with `HOMEBREW_DEVELOPER`, do not use bottles from older versions of macOS. This is useful in development on new macOS versions.
|
<br>If set along with `HOMEBREW_DEVELOPER`, do not use bottles from older versions of macOS. This is useful in development on new macOS versions.
|
||||||
|
|
||||||
- `HOMEBREW_SORBET_RUNTIME`
|
- `HOMEBREW_SORBET_RUNTIME`
|
||||||
<br>If set, enable runtime typechecking using Sorbet. Set by default for HOMEBREW_DEVELOPER or when running some developer commands.
|
<br>If set, enable runtime typechecking using Sorbet. Set by default for `HOMEBREW_DEVELOPER` or when running some developer commands.
|
||||||
|
|
||||||
- `HOMEBREW_SSH_CONFIG_PATH`
|
- `HOMEBREW_SSH_CONFIG_PATH`
|
||||||
<br>If set, Homebrew will use the given config file instead of `~/.ssh/config` when fetching Git repositories over SSH.
|
<br>If set, Homebrew will use the given config file instead of `~/.ssh/config` when fetching Git repositories over SSH.
|
||||||
|
@ -551,7 +551,7 @@ Disable/enable quarantining of downloads (default: enabled)\.
|
|||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-adopt\fR
|
\fB\-\-adopt\fR
|
||||||
Adopt existing artifacts in the destination that are identical to those being installed\. Cannot be combined with \-\-force\.
|
Adopt existing artifacts in the destination that are identical to those being installed\. Cannot be combined with \fB\-\-force\fR\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-skip\-cask\-deps\fR
|
\fB\-\-skip\-cask\-deps\fR
|
||||||
@ -759,7 +759,7 @@ Also include outdated casks including those with \fBauto_updates true\fR\.
|
|||||||
Pin the specified \fIformula\fR, preventing them from being upgraded when issuing the \fBbrew upgrade\fR \fIformula\fR command\. See also \fBunpin\fR\.
|
Pin the specified \fIformula\fR, preventing them from being upgraded when issuing the \fBbrew upgrade\fR \fIformula\fR command\. See also \fBunpin\fR\.
|
||||||
.
|
.
|
||||||
.P
|
.P
|
||||||
Note: Other packages which depend on newer versions of a pinned formula might not install or run correctly\.
|
\fINote:\fR Other packages which depend on newer versions of a pinned formula might not install or run correctly\.
|
||||||
.
|
.
|
||||||
.SS "\fBpostinstall\fR, \fBpost_install\fR \fIinstalled_formula\fR [\.\.\.]"
|
.SS "\fBpostinstall\fR, \fBpost_install\fR \fIinstalled_formula\fR [\.\.\.]"
|
||||||
Rerun the post\-install steps for \fIformula\fR\.
|
Rerun the post\-install steps for \fIformula\fR\.
|
||||||
@ -874,7 +874,7 @@ Disable/enable quarantining of downloads (default: enabled)\.
|
|||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-adopt\fR
|
\fB\-\-adopt\fR
|
||||||
Adopt existing artifacts in the destination that are identical to those being installed\. Cannot be combined with \-\-force\.
|
Adopt existing artifacts in the destination that are identical to those being installed\. Cannot be combined with \fB\-\-force\fR\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-skip\-cask\-deps\fR
|
\fB\-\-skip\-cask\-deps\fR
|
||||||
@ -3021,7 +3021,7 @@ Prefix all download URLs, including those for bottles, with this value\. For exa
|
|||||||
\fBHOMEBREW_API_AUTO_UPDATE_SECS\fR
|
\fBHOMEBREW_API_AUTO_UPDATE_SECS\fR
|
||||||
.
|
.
|
||||||
.br
|
.br
|
||||||
Check Homebrew\'s API for new formulae or cask data every \fBHOMEBREW_API_AUTO_UPDATE_SECS\fR seconds\. Alternatively, disable API auto\-update checks entirely with HOMEBREW_NO_AUTO_UPDATE\.
|
Check Homebrew\'s API for new formulae or cask data every \fBHOMEBREW_API_AUTO_UPDATE_SECS\fR seconds\. Alternatively, disable API auto\-update checks entirely with \fBHOMEBREW_NO_AUTO_UPDATE\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
\fIDefault:\fR \fB450\fR\.
|
\fIDefault:\fR \fB450\fR\.
|
||||||
@ -3033,7 +3033,7 @@ Check Homebrew\'s API for new formulae or cask data every \fBHOMEBREW_API_AUTO_U
|
|||||||
Run \fBbrew update\fR once every \fBHOMEBREW_AUTO_UPDATE_SECS\fR seconds before some commands, e\.g\. \fBbrew install\fR, \fBbrew upgrade\fR and \fBbrew tap\fR\. Alternatively, disable auto\-update entirely with \fBHOMEBREW_NO_AUTO_UPDATE\fR\.
|
Run \fBbrew update\fR once every \fBHOMEBREW_AUTO_UPDATE_SECS\fR seconds before some commands, e\.g\. \fBbrew install\fR, \fBbrew upgrade\fR and \fBbrew tap\fR\. Alternatively, disable auto\-update entirely with \fBHOMEBREW_NO_AUTO_UPDATE\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
\fIDefault:\fR 86400 (24 hours), 3600 (1 hour) if a developer command has been run or 300 (5 minutes) if \fBHOMEBREW_NO_INSTALL_FROM_API\fR is set\.
|
\fIDefault:\fR \fB86400\fR (24 hours), \fB3600\fR (1 hour) if a developer command has been run or \fB300\fR (5 minutes) if \fBHOMEBREW_NO_INSTALL_FROM_API\fR is set\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fBHOMEBREW_AUTOREMOVE\fR
|
\fBHOMEBREW_AUTOREMOVE\fR
|
||||||
@ -3240,7 +3240,7 @@ Use this editor when editing a single formula, or several formulae in the same d
|
|||||||
\fBHOMEBREW_EVAL_ALL\fR
|
\fBHOMEBREW_EVAL_ALL\fR
|
||||||
.
|
.
|
||||||
.br
|
.br
|
||||||
If set, \fBbrew\fR commands evaluate all formulae and casks, executing their arbitrary code, by default without requiring \-\-eval\-all\. Required to cache formula and cask descriptions\.
|
If set, \fBbrew\fR commands evaluate all formulae and casks, executing their arbitrary code, by default without requiring \fB\-\-eval\-all\fR\. Required to cache formula and cask descriptions\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fBHOMEBREW_FAIL_LOG_LINES\fR
|
\fBHOMEBREW_FAIL_LOG_LINES\fR
|
||||||
@ -3486,7 +3486,7 @@ If set along with \fBHOMEBREW_DEVELOPER\fR, do not use bottles from older versio
|
|||||||
\fBHOMEBREW_SORBET_RUNTIME\fR
|
\fBHOMEBREW_SORBET_RUNTIME\fR
|
||||||
.
|
.
|
||||||
.br
|
.br
|
||||||
If set, enable runtime typechecking using Sorbet\. Set by default for HOMEBREW_DEVELOPER or when running some developer commands\.
|
If set, enable runtime typechecking using Sorbet\. Set by default for \fBHOMEBREW_DEVELOPER\fR or when running some developer commands\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fBHOMEBREW_SSH_CONFIG_PATH\fR
|
\fBHOMEBREW_SSH_CONFIG_PATH\fR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user