diff --git a/completions/bash/brew b/completions/bash/brew index 9ef26c45f9..aae51371d9 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -2,7 +2,7 @@ # This file is automatically generated by running `brew generate-man-completions`. # See Library/Homebrew/completions/bash.erb for editing instructions. -if [[ -n ${POSIXLY_CORRECT} ]] || shopt -oq posix +if [[ -n ${POSIXLY_CORRECT:-} ]] || shopt -oq posix then echo "Homebrew Bash completions do not work in POSIX mode" 1>&2 return diff --git a/docs/Manpage.md b/docs/Manpage.md index 4b30ad9ec9..38e6b381d9 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1111,11 +1111,11 @@ Display the source of a *`formula`* or *`cask`*. Display the path to the file being used when invoking `brew` *`cmd`*. -### `contributions` *`email|name`* [*`--repositories`*`=`] [*`--csv`*] +### `contributions` *`email|username`* [*`--repositories`*`=`] [*`--csv`*] 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 first argument is a GitHub username (e.g. "BrewTestBot") or an email address (e.g. "brewtestbot@brew.sh"). * `--repositories`: Specify a comma-separated (no spaces) list of repositories to search. Supported repositories: `brew`, `core`, `cask`, `aliases`, `autoupdate`, `bundle`, `command-not-found`, `test-bot`, `services`, `cask-drivers`, `cask-fonts` and `cask-versions`. Omitting this flag, or specifying `--repositories=all`, searches all repositories. Use `--repositories=primary` to search only the main repositories: brew,core,cask. diff --git a/manpages/brew.1 b/manpages/brew.1 index c1fce2e6a8..4b91240b62 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1598,11 +1598,11 @@ Treat all named arguments as casks\. .SS "\fBcommand\fR \fIcommand\fR [\.\.\.]" Display the path to the file being used when invoking \fBbrew\fR \fIcmd\fR\. . -.SS "\fBcontributions\fR \fIemail|name\fR [\fI\-\-repositories\fR\fB=\fR] [\fI\-\-csv\fR]" +.SS "\fBcontributions\fR \fIemail|username\fR [\fI\-\-repositories\fR\fB=\fR] [\fI\-\-csv\fR]" Contributions to Homebrew repos for a user\. . .P -The first argument is a name (e\.g\. "BrewTestBot") or an email address (e\.g\. "brewtestbot@brew\.sh")\. +The first argument is a GitHub username (e\.g\. "BrewTestBot") or an email address (e\.g\. "brewtestbot@brew\.sh")\. . .TP \fB\-\-repositories\fR