From 5f7c369bc8b66ee3a107741d4ed8ec9bbea340d4 Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Tue, 29 Dec 2020 13:01:58 -0500 Subject: [PATCH] docs: fix wording on manpage for cask options --- Library/Homebrew/dev-cmd/man.rb | 2 +- docs/Manpage.md | 2 +- manpages/brew.1 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/dev-cmd/man.rb b/Library/Homebrew/dev-cmd/man.rb index 9beaef7139..ae3dc6face 100644 --- a/Library/Homebrew/dev-cmd/man.rb +++ b/Library/Homebrew/dev-cmd/man.rb @@ -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 diff --git a/docs/Manpage.md b/docs/Manpage.md index 946d3c0a15..98f72beb18 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -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`). diff --git a/manpages/brew.1 b/manpages/brew.1 index 0284bb679f..d66500d350 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -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