Require an argument to --bottle-tag in fetch and --cache

This commit is contained in:
Rylan Polster 2022-06-28 11:20:22 -04:00
parent 2b01354f2f
commit 4310674776
No known key found for this signature in database
GPG Key ID: 46A744940CFF4D64
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ module Homebrew
description: "Show the cache file used when building from source."
switch "--force-bottle",
description: "Show the cache file used when pouring a bottle."
flag "--bottle-tag",
flag "--bottle-tag=",
description: "Show the cache file used when pouring a bottle for the given tag."
switch "--HEAD",
description: "Show the cache file used when building from HEAD."

View File

@ -20,7 +20,7 @@ module Homebrew
Download a bottle (if available) or source packages for <formula>e
and binaries for <cask>s. For files, also print SHA-256 checksums.
EOS
flag "--bottle-tag",
flag "--bottle-tag=",
description: "Download a bottle for given tag."
switch "--HEAD",
description: "Fetch HEAD version instead of stable version."