docs: fix wording on manpage for cask options
This commit is contained in:
parent
8945803432
commit
5f7c369bc8
@ -218,7 +218,7 @@ module Homebrew
|
||||
|
||||
sig { returns(String) }
|
||||
def global_cask_options_manpage
|
||||
lines = ["These options are applicable to subcommands accepting a `--cask` flag and all `cask` commands.\n"]
|
||||
lines = ["These options are applicable to the `install`, `reinstall`, and `upgrade` subcommands with the `--cask` flag.\n"]
|
||||
lines += Homebrew::CLI::Parser.global_cask_options.map do |_, long, description:, **|
|
||||
generate_option_doc(nil, long.chomp("="), description)
|
||||
end
|
||||
|
||||
@ -1396,7 +1396,7 @@ Install and commit Homebrew's vendored gems.
|
||||
|
||||
## GLOBAL CASK OPTIONS
|
||||
|
||||
These options are applicable to subcommands accepting a `--cask` flag and all `cask` commands.
|
||||
These options are applicable to the `install`, `reinstall`, and `upgrade` subcommands with the `--cask` flag.
|
||||
|
||||
* `--appdir`:
|
||||
Target location for Applications (default: `/Applications`).
|
||||
|
||||
@ -1945,7 +1945,7 @@ Install and commit Homebrew\'s vendored gems\.
|
||||
Update all vendored Gems to the latest version\.
|
||||
.
|
||||
.SH "GLOBAL CASK OPTIONS"
|
||||
These options are applicable to subcommands accepting a \fB\-\-cask\fR flag and all \fBcask\fR commands\.
|
||||
These options are applicable to the \fBinstall\fR, \fBreinstall\fR, and \fBupgrade\fR subcommands with the \fB\-\-cask\fR flag\.
|
||||
.
|
||||
.TP
|
||||
\fB\-\-appdir\fR
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user