Merge pull request #12458 from FnControlOption/patch-11

bump-cask-pr: replace `--write` with `--write-only` in help text
This commit is contained in:
Mike McQuaid 2021-11-22 12:24:18 +00:00 committed by GitHub
commit a8429df637
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,8 +26,8 @@ module Homebrew
description: "Make the expected file modifications without taking any Git actions."
switch "--write", hidden: true
switch "--commit",
depends_on: "--write",
description: "When passed with `--write`, generate a new commit after writing changes "\
depends_on: "--write-only",
description: "When passed with `--write-only`, generate a new commit after writing changes "\
"to the cask file."
switch "--no-audit",
description: "Don't run `brew audit` before opening the PR."