Fix disabled args appearing in documentation.

This commit is contained in:
Bo Anderson 2021-12-17 00:17:15 +00:00
parent c5abfe4279
commit 6e37c67fba
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65
10 changed files with 10 additions and 61 deletions

View File

@ -16,7 +16,7 @@ Lint/NestedMethodDefinition:
Metrics/AbcSize: Metrics/AbcSize:
Max: 280 Max: 280
Metrics/BlockLength: Metrics/BlockLength:
Max: 102 Max: 103
Exclude: Exclude:
# TODO: extract more of the bottling logic # TODO: extract more of the bottling logic
- "dev-cmd/bottle.rb" - "dev-cmd/bottle.rb"

View File

@ -51,6 +51,7 @@ module Homebrew
}], }],
[:flag, "--env=", { [:flag, "--env=", {
description: "Disabled other than for internal Homebrew use.", description: "Disabled other than for internal Homebrew use.",
hidden: true,
}], }],
[:switch, "--ignore-dependencies", { [:switch, "--ignore-dependencies", {
description: "An unsupported Homebrew development flag to skip installing any dependencies of any kind. " \ description: "An unsupported Homebrew development flag to skip installing any dependencies of any kind. " \

View File

@ -29,9 +29,11 @@ module Homebrew
EOS EOS
switch "--full", switch "--full",
description: "Convert a shallow clone to a full clone without untapping. Taps are only cloned as "\ description: "Convert a shallow clone to a full clone without untapping. Taps are only cloned as "\
"shallow clones if `--shallow` was originally passed." "shallow clones if `--shallow` was originally passed.",
replacement: false
switch "--shallow", switch "--shallow",
description: "Fetch tap as a shallow clone rather than a full clone. Useful for continuous integration." description: "Fetch tap as a shallow clone rather than a full clone. Useful for continuous integration.",
replacement: false
switch "--force-auto-update", switch "--force-auto-update",
description: "Auto-update tap even if it is not hosted on GitHub. By default, only taps "\ description: "Auto-update tap even if it is not hosted on GitHub. By default, only taps "\
"hosted on GitHub are auto-updated (for performance reasons)." "hosted on GitHub are auto-updated (for performance reasons)."
@ -58,10 +60,6 @@ module Homebrew
elsif args.no_named? elsif args.no_named?
puts Tap.names puts Tap.names
else else
odisabled "`brew tap --full`" if args.full?
odisabled "`brew tap --shallow`" if args.shallow?
tap = Tap.fetch(args.named.first) tap = Tap.fetch(args.named.first)
begin begin
tap.install clone_target: args.named.second, tap.install clone_target: args.named.second,

View File

@ -28,7 +28,8 @@ module Homebrew
description: "Run `brew pr-publish` on matching pull requests." description: "Run `brew pr-publish` on matching pull requests."
switch "--autosquash", switch "--autosquash",
description: "Instruct `brew pr-publish` to automatically reformat and reword commits "\ description: "Instruct `brew pr-publish` to automatically reformat and reword commits "\
"in the pull request to our preferred format." "in the pull request to our preferred format.",
replacement: "`--no-autosquash` to opt out"
switch "--no-autosquash", switch "--no-autosquash",
description: "Instruct `brew pr-publish` to skip automatically reformatting and rewording commits "\ description: "Instruct `brew pr-publish` to skip automatically reformatting and rewording commits "\
"in the pull request to the preferred format." "in the pull request to the preferred format."
@ -42,8 +43,6 @@ module Homebrew
def pr_automerge def pr_automerge
args = pr_automerge_args.parse args = pr_automerge_args.parse
odisabled "`brew pr-automerge --autosquash`", "`brew pr-automerge`" if args.autosquash?
without_labels = args.without_labels || [ without_labels = args.without_labels || [
"do not merge", "do not merge",
"new formula", "new formula",

View File

@ -18,7 +18,8 @@ module Homebrew
EOS EOS
switch "--autosquash", switch "--autosquash",
description: "If supported on the target tap, automatically reformat and reword commits "\ description: "If supported on the target tap, automatically reformat and reword commits "\
"in the pull request to our preferred format." "in the pull request to our preferred format.",
replacement: "`--no-autosquash` to opt out"
switch "--no-autosquash", switch "--no-autosquash",
description: "Skip automatically reformatting and rewording commits in the pull request "\ description: "Skip automatically reformatting and rewording commits in the pull request "\
"to the preferred format, even if supported on the target tap." "to the preferred format, even if supported on the target tap."
@ -43,8 +44,6 @@ module Homebrew
workflow = args.workflow || "publish-commit-bottles.yml" workflow = args.workflow || "publish-commit-bottles.yml"
ref = args.branch || "master" ref = args.branch || "master"
odisabled "`brew pr-publish --autosquash`", "`brew pr-publish`" if args.autosquash?
extra_args = [] extra_args = []
extra_args << "--autosquash" unless args.no_autosquash? extra_args << "--autosquash" unless args.no_autosquash?
extra_args << "--message='#{args.message}'" if args.message.presence extra_args << "--message='#{args.message}'" if args.message.presence

View File

@ -1063,7 +1063,6 @@ _brew_instal() {
--debug --debug
--dictionarydir --dictionarydir
--display-times --display-times
--env
--fetch-HEAD --fetch-HEAD
--fontdir --fontdir
--force --force
@ -1120,7 +1119,6 @@ _brew_install() {
--debug --debug
--dictionarydir --dictionarydir
--display-times --display-times
--env
--fetch-HEAD --fetch-HEAD
--fontdir --fontdir
--force --force
@ -1530,7 +1528,6 @@ _brew_pr_automerge() {
case "${cur}" in case "${cur}" in
-*) -*)
__brewcomp " __brewcomp "
--autosquash
--debug --debug
--help --help
--ignore-failures --ignore-failures
@ -1554,7 +1551,6 @@ _brew_pr_publish() {
case "${cur}" in case "${cur}" in
-*) -*)
__brewcomp " __brewcomp "
--autosquash
--branch --branch
--debug --debug
--help --help
@ -1896,12 +1892,10 @@ _brew_tap() {
--custom-remote --custom-remote
--debug --debug
--force-auto-update --force-auto-update
--full
--help --help
--list-pinned --list-pinned
--quiet --quiet
--repair --repair
--shallow
--verbose --verbose
" "
return return

View File

@ -767,7 +767,6 @@ __fish_brew_complete_arg 'instal' -l colorpickerdir -d 'Target location for Colo
__fish_brew_complete_arg 'instal' -l debug -d 'If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory' __fish_brew_complete_arg 'instal' -l debug -d 'If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory'
__fish_brew_complete_arg 'instal' -l dictionarydir -d 'Target location for Dictionaries (default: `~/Library/Dictionaries`)' __fish_brew_complete_arg 'instal' -l dictionarydir -d 'Target location for Dictionaries (default: `~/Library/Dictionaries`)'
__fish_brew_complete_arg 'instal' -l display-times -d 'Print install times for each package at the end of the run' __fish_brew_complete_arg 'instal' -l display-times -d 'Print install times for each package at the end of the run'
__fish_brew_complete_arg 'instal' -l env -d 'Disabled other than for internal Homebrew use'
__fish_brew_complete_arg 'instal' -l fetch-HEAD -d 'Fetch the upstream repository to detect if the HEAD installation of the formula is outdated. Otherwise, the repository\'s HEAD will only be checked for updates when a new stable or development version has been released' __fish_brew_complete_arg 'instal' -l fetch-HEAD -d 'Fetch the upstream repository to detect if the HEAD installation of the formula is outdated. Otherwise, the repository\'s HEAD will only be checked for updates when a new stable or development version has been released'
__fish_brew_complete_arg 'instal' -l fontdir -d 'Target location for Fonts (default: `~/Library/Fonts`)' __fish_brew_complete_arg 'instal' -l fontdir -d 'Target location for Fonts (default: `~/Library/Fonts`)'
__fish_brew_complete_arg 'instal' -l force -d 'Install formulae without checking for previously installed keg-only or non-migrated versions. When installing casks, overwrite existing files (binaries and symlinks are excluded, unless originally from the same cask)' __fish_brew_complete_arg 'instal' -l force -d 'Install formulae without checking for previously installed keg-only or non-migrated versions. When installing casks, overwrite existing files (binaries and symlinks are excluded, unless originally from the same cask)'
@ -815,7 +814,6 @@ __fish_brew_complete_arg 'install' -l colorpickerdir -d 'Target location for Col
__fish_brew_complete_arg 'install' -l debug -d 'If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory' __fish_brew_complete_arg 'install' -l debug -d 'If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory'
__fish_brew_complete_arg 'install' -l dictionarydir -d 'Target location for Dictionaries (default: `~/Library/Dictionaries`)' __fish_brew_complete_arg 'install' -l dictionarydir -d 'Target location for Dictionaries (default: `~/Library/Dictionaries`)'
__fish_brew_complete_arg 'install' -l display-times -d 'Print install times for each package at the end of the run' __fish_brew_complete_arg 'install' -l display-times -d 'Print install times for each package at the end of the run'
__fish_brew_complete_arg 'install' -l env -d 'Disabled other than for internal Homebrew use'
__fish_brew_complete_arg 'install' -l fetch-HEAD -d 'Fetch the upstream repository to detect if the HEAD installation of the formula is outdated. Otherwise, the repository\'s HEAD will only be checked for updates when a new stable or development version has been released' __fish_brew_complete_arg 'install' -l fetch-HEAD -d 'Fetch the upstream repository to detect if the HEAD installation of the formula is outdated. Otherwise, the repository\'s HEAD will only be checked for updates when a new stable or development version has been released'
__fish_brew_complete_arg 'install' -l fontdir -d 'Target location for Fonts (default: `~/Library/Fonts`)' __fish_brew_complete_arg 'install' -l fontdir -d 'Target location for Fonts (default: `~/Library/Fonts`)'
__fish_brew_complete_arg 'install' -l force -d 'Install formulae without checking for previously installed keg-only or non-migrated versions. When installing casks, overwrite existing files (binaries and symlinks are excluded, unless originally from the same cask)' __fish_brew_complete_arg 'install' -l force -d 'Install formulae without checking for previously installed keg-only or non-migrated versions. When installing casks, overwrite existing files (binaries and symlinks are excluded, unless originally from the same cask)'
@ -1063,7 +1061,6 @@ __fish_brew_complete_arg 'postinstall' -a '(__fish_brew_suggest_formulae_install
__fish_brew_complete_cmd 'pr-automerge' 'Find pull requests that can be automatically merged using `brew pr-publish`' __fish_brew_complete_cmd 'pr-automerge' 'Find pull requests that can be automatically merged using `brew pr-publish`'
__fish_brew_complete_arg 'pr-automerge' -l autosquash -d 'Instruct `brew pr-publish` to automatically reformat and reword commits in the pull request to our preferred format'
__fish_brew_complete_arg 'pr-automerge' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'pr-automerge' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'pr-automerge' -l help -d 'Show this message' __fish_brew_complete_arg 'pr-automerge' -l help -d 'Show this message'
__fish_brew_complete_arg 'pr-automerge' -l ignore-failures -d 'Include pull requests that have failing status checks' __fish_brew_complete_arg 'pr-automerge' -l ignore-failures -d 'Include pull requests that have failing status checks'
@ -1078,7 +1075,6 @@ __fish_brew_complete_arg 'pr-automerge' -l without-labels -d 'Pull requests must
__fish_brew_complete_cmd 'pr-publish' 'Publish bottles for a pull request with GitHub Actions' __fish_brew_complete_cmd 'pr-publish' 'Publish bottles for a pull request with GitHub Actions'
__fish_brew_complete_arg 'pr-publish' -l autosquash -d 'If supported on the target tap, automatically reformat and reword commits in the pull request to our preferred format'
__fish_brew_complete_arg 'pr-publish' -l branch -d 'Branch to publish to (default: `master`)' __fish_brew_complete_arg 'pr-publish' -l branch -d 'Branch to publish to (default: `master`)'
__fish_brew_complete_arg 'pr-publish' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'pr-publish' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'pr-publish' -l help -d 'Show this message' __fish_brew_complete_arg 'pr-publish' -l help -d 'Show this message'
@ -1291,12 +1287,10 @@ __fish_brew_complete_cmd 'tap' 'Tap a formula repository'
__fish_brew_complete_arg 'tap' -l custom-remote -d 'Install or change a tap with a custom remote. Useful for mirrors' __fish_brew_complete_arg 'tap' -l custom-remote -d 'Install or change a tap with a custom remote. Useful for mirrors'
__fish_brew_complete_arg 'tap' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'tap' -l debug -d 'Display any debugging information'
__fish_brew_complete_arg 'tap' -l force-auto-update -d 'Auto-update tap even if it is not hosted on GitHub. By default, only taps hosted on GitHub are auto-updated (for performance reasons)' __fish_brew_complete_arg 'tap' -l force-auto-update -d 'Auto-update tap even if it is not hosted on GitHub. By default, only taps hosted on GitHub are auto-updated (for performance reasons)'
__fish_brew_complete_arg 'tap' -l full -d 'Convert a shallow clone to a full clone without untapping. Taps are only cloned as shallow clones if `--shallow` was originally passed'
__fish_brew_complete_arg 'tap' -l help -d 'Show this message' __fish_brew_complete_arg 'tap' -l help -d 'Show this message'
__fish_brew_complete_arg 'tap' -l list-pinned -d 'List all pinned taps' __fish_brew_complete_arg 'tap' -l list-pinned -d 'List all pinned taps'
__fish_brew_complete_arg 'tap' -l quiet -d 'Make some output more quiet' __fish_brew_complete_arg 'tap' -l quiet -d 'Make some output more quiet'
__fish_brew_complete_arg 'tap' -l repair -d 'Migrate tapped formulae from symlink-based to directory-based structure' __fish_brew_complete_arg 'tap' -l repair -d 'Migrate tapped formulae from symlink-based to directory-based structure'
__fish_brew_complete_arg 'tap' -l shallow -d 'Fetch tap as a shallow clone rather than a full clone. Useful for continuous integration'
__fish_brew_complete_arg 'tap' -l verbose -d 'Make some output more verbose' __fish_brew_complete_arg 'tap' -l verbose -d 'Make some output more verbose'
__fish_brew_complete_arg 'tap' -a '(__fish_brew_suggest_taps_installed)' __fish_brew_complete_arg 'tap' -a '(__fish_brew_suggest_taps_installed)'

View File

@ -945,7 +945,6 @@ _brew_instal() {
'--debug[If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory]' \ '--debug[If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory]' \
'(--formula)--dictionarydir[Target location for Dictionaries (default: `~/Library/Dictionaries`)]' \ '(--formula)--dictionarydir[Target location for Dictionaries (default: `~/Library/Dictionaries`)]' \
'(--cask)--display-times[Print install times for each package at the end of the run]' \ '(--cask)--display-times[Print install times for each package at the end of the run]' \
'(--cask)--env[Disabled other than for internal Homebrew use]' \
'(--cask)--fetch-HEAD[Fetch the upstream repository to detect if the HEAD installation of the formula is outdated. Otherwise, the repository'\''s HEAD will only be checked for updates when a new stable or development version has been released]' \ '(--cask)--fetch-HEAD[Fetch the upstream repository to detect if the HEAD installation of the formula is outdated. Otherwise, the repository'\''s HEAD will only be checked for updates when a new stable or development version has been released]' \
'(--formula)--fontdir[Target location for Fonts (default: `~/Library/Fonts`)]' \ '(--formula)--fontdir[Target location for Fonts (default: `~/Library/Fonts`)]' \
'--force[Install formulae without checking for previously installed keg-only or non-migrated versions. When installing casks, overwrite existing files (binaries and symlinks are excluded, unless originally from the same cask)]' \ '--force[Install formulae without checking for previously installed keg-only or non-migrated versions. When installing casks, overwrite existing files (binaries and symlinks are excluded, unless originally from the same cask)]' \
@ -997,7 +996,6 @@ _brew_install() {
'--debug[If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory]' \ '--debug[If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory]' \
'(--formula)--dictionarydir[Target location for Dictionaries (default: `~/Library/Dictionaries`)]' \ '(--formula)--dictionarydir[Target location for Dictionaries (default: `~/Library/Dictionaries`)]' \
'(--cask)--display-times[Print install times for each package at the end of the run]' \ '(--cask)--display-times[Print install times for each package at the end of the run]' \
'(--cask)--env[Disabled other than for internal Homebrew use]' \
'(--cask)--fetch-HEAD[Fetch the upstream repository to detect if the HEAD installation of the formula is outdated. Otherwise, the repository'\''s HEAD will only be checked for updates when a new stable or development version has been released]' \ '(--cask)--fetch-HEAD[Fetch the upstream repository to detect if the HEAD installation of the formula is outdated. Otherwise, the repository'\''s HEAD will only be checked for updates when a new stable or development version has been released]' \
'(--formula)--fontdir[Target location for Fonts (default: `~/Library/Fonts`)]' \ '(--formula)--fontdir[Target location for Fonts (default: `~/Library/Fonts`)]' \
'--force[Install formulae without checking for previously installed keg-only or non-migrated versions. When installing casks, overwrite existing files (binaries and symlinks are excluded, unless originally from the same cask)]' \ '--force[Install formulae without checking for previously installed keg-only or non-migrated versions. When installing casks, overwrite existing files (binaries and symlinks are excluded, unless originally from the same cask)]' \
@ -1304,7 +1302,6 @@ _brew_postinstall() {
# brew pr-automerge # brew pr-automerge
_brew_pr_automerge() { _brew_pr_automerge() {
_arguments \ _arguments \
'--autosquash[Instruct `brew pr-publish` to automatically reformat and reword commits in the pull request to our preferred format]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'--help[Show this message]' \ '--help[Show this message]' \
'--ignore-failures[Include pull requests that have failing status checks]' \ '--ignore-failures[Include pull requests that have failing status checks]' \
@ -1321,7 +1318,6 @@ _brew_pr_automerge() {
# brew pr-publish # brew pr-publish
_brew_pr_publish() { _brew_pr_publish() {
_arguments \ _arguments \
'--autosquash[If supported on the target tap, automatically reformat and reword commits in the pull request to our preferred format]' \
'--branch[Branch to publish to (default: `master`)]' \ '--branch[Branch to publish to (default: `master`)]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'--help[Show this message]' \ '--help[Show this message]' \
@ -1579,12 +1575,10 @@ _brew_tap() {
'--custom-remote[Install or change a tap with a custom remote. Useful for mirrors]' \ '--custom-remote[Install or change a tap with a custom remote. Useful for mirrors]' \
'--debug[Display any debugging information]' \ '--debug[Display any debugging information]' \
'--force-auto-update[Auto-update tap even if it is not hosted on GitHub. By default, only taps hosted on GitHub are auto-updated (for performance reasons)]' \ '--force-auto-update[Auto-update tap even if it is not hosted on GitHub. By default, only taps hosted on GitHub are auto-updated (for performance reasons)]' \
'--full[Convert a shallow clone to a full clone without untapping. Taps are only cloned as shallow clones if `--shallow` was originally passed]' \
'--help[Show this message]' \ '--help[Show this message]' \
'--list-pinned[List all pinned taps]' \ '--list-pinned[List all pinned taps]' \
'--quiet[Make some output more quiet]' \ '--quiet[Make some output more quiet]' \
'--repair[Migrate tapped formulae from symlink-based to directory-based structure]' \ '--repair[Migrate tapped formulae from symlink-based to directory-based structure]' \
'--shallow[Fetch tap as a shallow clone rather than a full clone. Useful for continuous integration]' \
'--verbose[Make some output more verbose]' \ '--verbose[Make some output more verbose]' \
- tap \ - tap \
'*::tap:__brew_any_tap' '*::tap:__brew_any_tap'

View File

@ -320,8 +320,6 @@ is already installed but outdated.
Print the verification and postinstall steps. Print the verification and postinstall steps.
* `--formula`: * `--formula`:
Treat all named arguments as formulae. Treat all named arguments as formulae.
* `--env`:
Disabled other than for internal Homebrew use.
* `--ignore-dependencies`: * `--ignore-dependencies`:
An unsupported Homebrew development flag to skip installing any dependencies of any kind. If the dependencies are not already present, the formula will have issues. If you're not developing Homebrew, consider adjusting your PATH rather than using this flag. An unsupported Homebrew development flag to skip installing any dependencies of any kind. If the dependencies are not already present, the formula will have issues. If you're not developing Homebrew, consider adjusting your PATH rather than using this flag.
* `--only-dependencies`: * `--only-dependencies`:
@ -612,10 +610,6 @@ simplifies but also limits. This two-argument command makes no
assumptions, so taps can be cloned from places other than GitHub and assumptions, so taps can be cloned from places other than GitHub and
using protocols other than HTTPS, e.g. SSH, git, HTTP, FTP(S), rsync. using protocols other than HTTPS, e.g. SSH, git, HTTP, FTP(S), rsync.
* `--full`:
Convert a shallow clone to a full clone without untapping. Taps are only cloned as shallow clones if `--shallow` was originally passed.
* `--shallow`:
Fetch tap as a shallow clone rather than a full clone. Useful for continuous integration.
* `--force-auto-update`: * `--force-auto-update`:
Auto-update tap even if it is not hosted on GitHub. By default, only taps hosted on GitHub are auto-updated (for performance reasons). Auto-update tap even if it is not hosted on GitHub. By default, only taps hosted on GitHub are auto-updated (for performance reasons).
* `--custom-remote`: * `--custom-remote`:
@ -1239,8 +1233,6 @@ Find pull requests that can be automatically merged using `brew pr-publish`.
Pull requests do not require approval to be merged. Pull requests do not require approval to be merged.
* `--publish`: * `--publish`:
Run `brew pr-publish` on matching pull requests. Run `brew pr-publish` on matching pull requests.
* `--autosquash`:
Instruct `brew pr-publish` to automatically reformat and reword commits in the pull request to our preferred format.
* `--no-autosquash`: * `--no-autosquash`:
Instruct `brew pr-publish` to skip automatically reformatting and rewording commits in the pull request to the preferred format. Instruct `brew pr-publish` to skip automatically reformatting and rewording commits in the pull request to the preferred format.
* `--ignore-failures`: * `--ignore-failures`:
@ -1251,8 +1243,6 @@ Find pull requests that can be automatically merged using `brew pr-publish`.
Publish bottles for a pull request with GitHub Actions. Publish bottles for a pull request with GitHub Actions.
Requires write access to the repository. Requires write access to the repository.
* `--autosquash`:
If supported on the target tap, automatically reformat and reword commits in the pull request to our preferred format.
* `--no-autosquash`: * `--no-autosquash`:
Skip automatically reformatting and rewording commits in the pull request to the preferred format, even if supported on the target tap. Skip automatically reformatting and rewording commits in the pull request to the preferred format, even if supported on the target tap.
* `--branch`: * `--branch`:

View File

@ -417,10 +417,6 @@ Print the verification and postinstall steps\.
Treat all named arguments as formulae\. Treat all named arguments as formulae\.
. .
.TP .TP
\fB\-\-env\fR
Disabled other than for internal Homebrew use\.
.
.TP
\fB\-\-ignore\-dependencies\fR \fB\-\-ignore\-dependencies\fR
An unsupported Homebrew development flag to skip installing any dependencies of any kind\. If the dependencies are not already present, the formula will have issues\. If you\'re not developing Homebrew, consider adjusting your PATH rather than using this flag\. An unsupported Homebrew development flag to skip installing any dependencies of any kind\. If the dependencies are not already present, the formula will have issues\. If you\'re not developing Homebrew, consider adjusting your PATH rather than using this flag\.
. .
@ -843,14 +839,6 @@ With \fIURL\fR unspecified, tap a formula repository from GitHub using HTTPS\. S
With \fIURL\fR specified, tap a formula repository from anywhere, using any transport protocol that \fBgit\fR(1) handles\. The one\-argument form of \fBtap\fR simplifies but also limits\. This two\-argument command makes no assumptions, so taps can be cloned from places other than GitHub and using protocols other than HTTPS, e\.g\. SSH, git, HTTP, FTP(S), rsync\. With \fIURL\fR specified, tap a formula repository from anywhere, using any transport protocol that \fBgit\fR(1) handles\. The one\-argument form of \fBtap\fR simplifies but also limits\. This two\-argument command makes no assumptions, so taps can be cloned from places other than GitHub and using protocols other than HTTPS, e\.g\. SSH, git, HTTP, FTP(S), rsync\.
. .
.TP .TP
\fB\-\-full\fR
Convert a shallow clone to a full clone without untapping\. Taps are only cloned as shallow clones if \fB\-\-shallow\fR was originally passed\.
.
.TP
\fB\-\-shallow\fR
Fetch tap as a shallow clone rather than a full clone\. Useful for continuous integration\.
.
.TP
\fB\-\-force\-auto\-update\fR \fB\-\-force\-auto\-update\fR
Auto\-update tap even if it is not hosted on GitHub\. By default, only taps hosted on GitHub are auto\-updated (for performance reasons)\. Auto\-update tap even if it is not hosted on GitHub\. By default, only taps hosted on GitHub are auto\-updated (for performance reasons)\.
. .
@ -1756,10 +1744,6 @@ Pull requests do not require approval to be merged\.
Run \fBbrew pr\-publish\fR on matching pull requests\. Run \fBbrew pr\-publish\fR on matching pull requests\.
. .
.TP .TP
\fB\-\-autosquash\fR
Instruct \fBbrew pr\-publish\fR to automatically reformat and reword commits in the pull request to our preferred format\.
.
.TP
\fB\-\-no\-autosquash\fR \fB\-\-no\-autosquash\fR
Instruct \fBbrew pr\-publish\fR to skip automatically reformatting and rewording commits in the pull request to the preferred format\. Instruct \fBbrew pr\-publish\fR to skip automatically reformatting and rewording commits in the pull request to the preferred format\.
. .
@ -1771,10 +1755,6 @@ Include pull requests that have failing status checks\.
Publish bottles for a pull request with GitHub Actions\. Requires write access to the repository\. Publish bottles for a pull request with GitHub Actions\. Requires write access to the repository\.
. .
.TP .TP
\fB\-\-autosquash\fR
If supported on the target tap, automatically reformat and reword commits in the pull request to our preferred format\.
.
.TP
\fB\-\-no\-autosquash\fR \fB\-\-no\-autosquash\fR
Skip automatically reformatting and rewording commits in the pull request to the preferred format, even if supported on the target tap\. Skip automatically reformatting and rewording commits in the pull request to the preferred format, even if supported on the target tap\.
. .