Skip to content

Commit 7898bc3

Browse files
authored
Merge pull request #22356 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2 parents 850931a + ae71b42 commit 7898bc3

4 files changed

Lines changed: 10 additions & 14 deletions

File tree

completions/fish/brew.fish

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ __fish_brew_complete_arg 'install' -l adopt -d 'Adopt existing artifacts in the
11121112
__fish_brew_complete_arg 'install' -l appdir -d 'Target location for Applications (default: `/Applications`)'
11131113
__fish_brew_complete_arg 'install' -l appimagedir -d 'Target location for AppImages (default: `~/Applications`)'
11141114
__fish_brew_complete_arg 'install' -l as-dependency -d 'Install but mark as installed as a dependency and not installed on request'
1115-
__fish_brew_complete_arg 'install' -l ask -d 'Ask for confirmation before downloading and installing. Print a dependency plan, including added, changed and removed packages and dependencies, with download and install sizes of formula bottles. Enabled by default if `$HOMEBREW_ASK` is set'
1115+
__fish_brew_complete_arg 'install' -l ask -d 'Ask for confirmation before downloading and installing. Print the same plan as `--dry-run` before prompting. Enabled by default if `$HOMEBREW_ASK` is set'
11161116
__fish_brew_complete_arg 'install' -l audio-unit-plugindir -d 'Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)'
11171117
__fish_brew_complete_arg 'install' -l binaries -d 'Disable/enable linking of helper executables (default: enabled)'
11181118
__fish_brew_complete_arg 'install' -l bottle-arch -d 'Optimise bottles for the specified architecture rather than the oldest architecture supported by the version of macOS the bottles are built on'
@@ -1474,7 +1474,7 @@ __fish_brew_complete_cmd 'reinstall' 'Uninstall and then reinstall a formula or
14741474
__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`'
14751475
__fish_brew_complete_arg 'reinstall' -l appdir -d 'Target location for Applications (default: `/Applications`)'
14761476
__fish_brew_complete_arg 'reinstall' -l appimagedir -d 'Target location for AppImages (default: `~/Applications`)'
1477-
__fish_brew_complete_arg 'reinstall' -l ask -d 'Ask for confirmation before downloading and reinstalling. Print a dependency plan, including added, changed and removed packages and dependencies, with download and install sizes of formula bottles. Enabled by default if `$HOMEBREW_ASK` is set'
1477+
__fish_brew_complete_arg 'reinstall' -l ask -d 'Ask for confirmation before downloading and reinstalling. Print what would be reinstalled before prompting. Enabled by default if `$HOMEBREW_ASK` is set'
14781478
__fish_brew_complete_arg 'reinstall' -l audio-unit-plugindir -d 'Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)'
14791479
__fish_brew_complete_arg 'reinstall' -l binaries -d 'Disable/enable linking of helper executables (default: enabled)'
14801480
__fish_brew_complete_arg 'reinstall' -l build-from-source -d 'Compile formula from source even if a bottle is available'

completions/zsh/_brew

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ _brew_install() {
14441444
'(--formula)--appdir[Target location for Applications (default: `/Applications`)]' \
14451445
'(--formula)--appimagedir[Target location for AppImages (default: `~/Applications`)]' \
14461446
'(--cask)--as-dependency[Install but mark as installed as a dependency and not installed on request]' \
1447-
'--ask[Ask for confirmation before downloading and installing. Print a dependency plan, including added, changed and removed packages and dependencies, with download and install sizes of formula bottles. Enabled by default if `$HOMEBREW_ASK` is set]' \
1447+
'--ask[Ask for confirmation before downloading and installing. Print the same plan as `--dry-run` before prompting. Enabled by default if `$HOMEBREW_ASK` is set]' \
14481448
'(--formula)--audio-unit-plugindir[Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)]' \
14491449
'(--formula)--binaries[Disable/enable linking of helper executables (default: enabled)]' \
14501450
'(--cask)--bottle-arch[Optimise bottles for the specified architecture rather than the oldest architecture supported by the version of macOS the bottles are built on]' \
@@ -1879,7 +1879,7 @@ _brew_reinstall() {
18791879
'(--formula)--adopt[Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`]' \
18801880
'(--formula)--appdir[Target location for Applications (default: `/Applications`)]' \
18811881
'(--formula)--appimagedir[Target location for AppImages (default: `~/Applications`)]' \
1882-
'--ask[Ask for confirmation before downloading and reinstalling. Print a dependency plan, including added, changed and removed packages and dependencies, with download and install sizes of formula bottles. Enabled by default if `$HOMEBREW_ASK` is set]' \
1882+
'--ask[Ask for confirmation before downloading and reinstalling. Print what would be reinstalled before prompting. Enabled by default if `$HOMEBREW_ASK` is set]' \
18831883
'(--formula)--audio-unit-plugindir[Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)]' \
18841884
'(--formula)--binaries[Disable/enable linking of helper executables (default: enabled)]' \
18851885
'(--cask --force-bottle)--build-from-source[Compile formula from source even if a bottle is available]' \

docs/Manpage.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,10 +1151,8 @@ upgrade *`formula`* if it is already installed but outdated.
11511151

11521152
`--ask`
11531153

1154-
: Ask for confirmation before downloading and installing. Print a dependency
1155-
plan, including added, changed and removed packages and dependencies, with
1156-
download and install sizes of formula bottles. Enabled by default if
1157-
`$HOMEBREW_ASK` is set.
1154+
: Ask for confirmation before downloading and installing. Print the same plan as
1155+
`--dry-run` before prompting. Enabled by default if `$HOMEBREW_ASK` is set.
11581156

11591157
`--formula`
11601158

@@ -1636,10 +1634,8 @@ for the reinstalled formulae or, every 30 days, for all formulae.
16361634

16371635
`--ask`
16381636

1639-
: Ask for confirmation before downloading and reinstalling. Print a dependency
1640-
plan, including added, changed and removed packages and dependencies, with
1641-
download and install sizes of formula bottles. Enabled by default if
1642-
`$HOMEBREW_ASK` is set.
1637+
: Ask for confirmation before downloading and reinstalling. Print what would be
1638+
reinstalled before prompting. Enabled by default if `$HOMEBREW_ASK` is set.
16431639

16441640
`--formula`
16451641

manpages/brew.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ Print the verification and post\-install steps\.
745745
Show what would be installed, but do not actually install anything\.
746746
.TP
747747
\fB\-\-ask\fP
748-
Ask for confirmation before downloading and installing\. Print a dependency plan, including added, changed and removed packages and dependencies, with download and install sizes of formula bottles\. Enabled by default if \fB$HOMEBREW_ASK\fP is set\.
748+
Ask for confirmation before downloading and installing\. Print the same plan as \fB\-\-dry\-run\fP before prompting\. Enabled by default if \fB$HOMEBREW_ASK\fP is set\.
749749
.TP
750750
\fB\-\-formula\fP
751751
Treat all named arguments as formulae\.
@@ -1041,7 +1041,7 @@ Install without checking for previously installed keg\-only or non\-migrated ver
10411041
Print the verification and post\-install steps\.
10421042
.TP
10431043
\fB\-\-ask\fP
1044-
Ask for confirmation before downloading and reinstalling\. Print a dependency plan, including added, changed and removed packages and dependencies, with download and install sizes of formula bottles\. Enabled by default if \fB$HOMEBREW_ASK\fP is set\.
1044+
Ask for confirmation before downloading and reinstalling\. Print what would be reinstalled before prompting\. Enabled by default if \fB$HOMEBREW_ASK\fP is set\.
10451045
.TP
10461046
\fB\-\-formula\fP
10471047
Treat all named arguments as formulae\.

0 commit comments

Comments
 (0)