From c37601f585e7a4da0bb7507a1e803eeac6bcb8df Mon Sep 17 00:00:00 2001 From: Issy Long Date: Sat, 19 Nov 2022 23:03:23 +0000 Subject: [PATCH] dev-cmd/bump-{cask,formula}-pr: `args.message` is before the default - I was wondering why `brew bump` PRs have descriptions with both commands, like: ``` Created with `brew bump`. --- Created by `brew bump-formula-pr`. ``` - Then I read the code and realised that "append" was the wrong word for the `--message` arg description. --- Library/Homebrew/dev-cmd/bump-cask-pr.rb | 2 +- Library/Homebrew/dev-cmd/bump-formula-pr.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/dev-cmd/bump-cask-pr.rb b/Library/Homebrew/dev-cmd/bump-cask-pr.rb index 0cd05870e3..0d433dba23 100644 --- a/Library/Homebrew/dev-cmd/bump-cask-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-cask-pr.rb @@ -41,7 +41,7 @@ module Homebrew flag "--version=", description: "Specify the new for the cask." flag "--message=", - description: "Append to the default pull request message." + description: "Prepend to the default pull request message." flag "--url=", description: "Specify the for the new download." flag "--sha256=", diff --git a/Library/Homebrew/dev-cmd/bump-formula-pr.rb b/Library/Homebrew/dev-cmd/bump-formula-pr.rb index e9f87bc454..c713bcdd44 100644 --- a/Library/Homebrew/dev-cmd/bump-formula-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-formula-pr.rb @@ -60,7 +60,7 @@ module Homebrew "that `--version=0` can be used to delete an existing version override from a " \ "formula if it has become redundant." flag "--message=", - description: "Append to the default pull request message." + description: "Prepend to the default pull request message." flag "--url=", description: "Specify the for the new download. If a is specified, the " \ "checksum of the new download should also be specified."