docs: fix wording on manpage for cask options

This commit is contained in:
Rylan Polster 2020-12-29 13:01:58 -05:00
parent 8945803432
commit 5f7c369bc8
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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`).

View File

@ -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