diff --git a/Library/Homebrew/dev-cmd/contributions.rb b/Library/Homebrew/dev-cmd/contributions.rb index f51e6fdb99..38a3888ca9 100755 --- a/Library/Homebrew/dev-cmd/contributions.rb +++ b/Library/Homebrew/dev-cmd/contributions.rb @@ -17,10 +17,12 @@ module Homebrew sig { returns(CLI::Parser) } def contributions_args Homebrew::CLI::Parser.new do - usage_banner "`contributions` " + usage_banner "`contributions` " description <<~EOS Contributions to Homebrew repos for a user. + The first argument is a name (e.g. "BrewTestBot") or an email address (e.g. "brewtestbot@brew.sh"). + The second argument is a comma-separated list of repos to search. Specify to search all repositories. Supported repositories: #{SUPPORTED_REPOS.join(", ")}. @@ -32,7 +34,7 @@ module Homebrew flag "--to=", description: "Date (ISO-8601 format) to stop searching contributions." - named_args [:email, :repositories], min: 2, max: 2 + named_args [:email, :name, :repositories], min: 2, max: 2 end end