diff --git a/completions/bash/brew b/completions/bash/brew index 2ba527464e..8dac2cf2c1 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -282,6 +282,7 @@ _brew__s() { --opensuse --pull-request --quiet + --repology --ubuntu --verbose " @@ -1798,6 +1799,7 @@ _brew_search() { --opensuse --pull-request --quiet + --repology --ubuntu --verbose " diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index d61debd8b3..e0db523dd2 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -274,19 +274,20 @@ __fish_brew_complete_arg '--repository' -a '(__fish_brew_suggest_taps_installed) __fish_brew_complete_cmd '-S' 'Perform a substring search of cask tokens and formula names for text' __fish_brew_complete_arg '-S' -l cask -d 'Search online and locally for casks' __fish_brew_complete_arg '-S' -l closed -d 'Search for only closed GitHub pull requests' -__fish_brew_complete_arg '-S' -l debian -d 'Search for text in the given package manager\'s list' +__fish_brew_complete_arg '-S' -l debian -d 'Search for text in the given database\'s or package manager\'s list' __fish_brew_complete_arg '-S' -l debug -d 'Display any debugging information' __fish_brew_complete_arg '-S' -l desc -d 'Search for formulae with a description matching text and casks with a name matching text' -__fish_brew_complete_arg '-S' -l fedora -d 'Search for text in the given package manager\'s list' -__fish_brew_complete_arg '-S' -l fink -d 'Search for text in the given package manager\'s list' +__fish_brew_complete_arg '-S' -l fedora -d 'Search for text in the given database\'s or package manager\'s list' +__fish_brew_complete_arg '-S' -l fink -d 'Search for text in the given database\'s or package manager\'s list' __fish_brew_complete_arg '-S' -l formula -d 'Search online and locally for formulae' __fish_brew_complete_arg '-S' -l help -d 'Show this message' -__fish_brew_complete_arg '-S' -l macports -d 'Search for text in the given package manager\'s list' +__fish_brew_complete_arg '-S' -l macports -d 'Search for text in the given database\'s or package manager\'s list' __fish_brew_complete_arg '-S' -l open -d 'Search for only open GitHub pull requests' -__fish_brew_complete_arg '-S' -l opensuse -d 'Search for text in the given package manager\'s list' +__fish_brew_complete_arg '-S' -l opensuse -d 'Search for text in the given database\'s or package manager\'s list' __fish_brew_complete_arg '-S' -l pull-request -d 'Search for GitHub pull requests containing text' __fish_brew_complete_arg '-S' -l quiet -d 'Make some output more quiet' -__fish_brew_complete_arg '-S' -l ubuntu -d 'Search for text in the given package manager\'s list' +__fish_brew_complete_arg '-S' -l repology -d 'Search for text in the given database\'s or package manager\'s list' +__fish_brew_complete_arg '-S' -l ubuntu -d 'Search for text in the given database\'s or package manager\'s list' __fish_brew_complete_arg '-S' -l verbose -d 'Make some output more verbose' @@ -1217,19 +1218,20 @@ __fish_brew_complete_arg 'ruby' -l r -d 'Load a library using `require`' __fish_brew_complete_cmd 'search' 'Perform a substring search of cask tokens and formula names for text' __fish_brew_complete_arg 'search' -l cask -d 'Search online and locally for casks' __fish_brew_complete_arg 'search' -l closed -d 'Search for only closed GitHub pull requests' -__fish_brew_complete_arg 'search' -l debian -d 'Search for text in the given package manager\'s list' +__fish_brew_complete_arg 'search' -l debian -d 'Search for text in the given database\'s or package manager\'s list' __fish_brew_complete_arg 'search' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'search' -l desc -d 'Search for formulae with a description matching text and casks with a name matching text' -__fish_brew_complete_arg 'search' -l fedora -d 'Search for text in the given package manager\'s list' -__fish_brew_complete_arg 'search' -l fink -d 'Search for text in the given package manager\'s list' +__fish_brew_complete_arg 'search' -l fedora -d 'Search for text in the given database\'s or package manager\'s list' +__fish_brew_complete_arg 'search' -l fink -d 'Search for text in the given database\'s or package manager\'s list' __fish_brew_complete_arg 'search' -l formula -d 'Search online and locally for formulae' __fish_brew_complete_arg 'search' -l help -d 'Show this message' -__fish_brew_complete_arg 'search' -l macports -d 'Search for text in the given package manager\'s list' +__fish_brew_complete_arg 'search' -l macports -d 'Search for text in the given database\'s or package manager\'s list' __fish_brew_complete_arg 'search' -l open -d 'Search for only open GitHub pull requests' -__fish_brew_complete_arg 'search' -l opensuse -d 'Search for text in the given package manager\'s list' +__fish_brew_complete_arg 'search' -l opensuse -d 'Search for text in the given database\'s or package manager\'s list' __fish_brew_complete_arg 'search' -l pull-request -d 'Search for GitHub pull requests containing text' __fish_brew_complete_arg 'search' -l quiet -d 'Make some output more quiet' -__fish_brew_complete_arg 'search' -l ubuntu -d 'Search for text in the given package manager\'s list' +__fish_brew_complete_arg 'search' -l repology -d 'Search for text in the given database\'s or package manager\'s list' +__fish_brew_complete_arg 'search' -l ubuntu -d 'Search for text in the given database\'s or package manager\'s list' __fish_brew_complete_arg 'search' -l verbose -d 'Make some output more verbose' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index e02e3f0b5e..9a4354a270 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -349,19 +349,20 @@ _brew__s() { _arguments \ '--cask[Search online and locally for casks]' \ '(--open)--closed[Search for only closed GitHub pull requests]' \ - '(--macports --fink --opensuse --fedora --ubuntu)--debian[Search for text in the given package manager'\''s list]' \ + '(--repology --macports --fink --opensuse --fedora --ubuntu)--debian[Search for text in the given database'\''s or package manager'\''s list]' \ '--debug[Display any debugging information]' \ '(--pull-request)--desc[Search for formulae with a description matching text and casks with a name matching text]' \ - '(--macports --fink --opensuse --debian --ubuntu)--fedora[Search for text in the given package manager'\''s list]' \ - '(--macports --opensuse --fedora --debian --ubuntu)--fink[Search for text in the given package manager'\''s list]' \ + '(--repology --macports --fink --opensuse --debian --ubuntu)--fedora[Search for text in the given database'\''s or package manager'\''s list]' \ + '(--repology --macports --opensuse --fedora --debian --ubuntu)--fink[Search for text in the given database'\''s or package manager'\''s list]' \ '--formula[Search online and locally for formulae]' \ '--help[Show this message]' \ - '(--fink --opensuse --fedora --debian --ubuntu)--macports[Search for text in the given package manager'\''s list]' \ + '(--repology --fink --opensuse --fedora --debian --ubuntu)--macports[Search for text in the given database'\''s or package manager'\''s list]' \ '(--closed)--open[Search for only open GitHub pull requests]' \ - '(--macports --fink --fedora --debian --ubuntu)--opensuse[Search for text in the given package manager'\''s list]' \ + '(--repology --macports --fink --fedora --debian --ubuntu)--opensuse[Search for text in the given database'\''s or package manager'\''s list]' \ '(--desc)--pull-request[Search for GitHub pull requests containing text]' \ '--quiet[Make some output more quiet]' \ - '(--macports --fink --opensuse --fedora --debian)--ubuntu[Search for text in the given package manager'\''s list]' \ + '(--macports --fink --opensuse --fedora --debian --ubuntu)--repology[Search for text in the given database'\''s or package manager'\''s list]' \ + '(--repology --macports --fink --opensuse --fedora --debian)--ubuntu[Search for text in the given database'\''s or package manager'\''s list]' \ '--verbose[Make some output more verbose]' } @@ -1490,19 +1491,20 @@ _brew_search() { _arguments \ '--cask[Search online and locally for casks]' \ '(--open)--closed[Search for only closed GitHub pull requests]' \ - '(--macports --fink --opensuse --fedora --ubuntu)--debian[Search for text in the given package manager'\''s list]' \ + '(--repology --macports --fink --opensuse --fedora --ubuntu)--debian[Search for text in the given database'\''s or package manager'\''s list]' \ '--debug[Display any debugging information]' \ '(--pull-request)--desc[Search for formulae with a description matching text and casks with a name matching text]' \ - '(--macports --fink --opensuse --debian --ubuntu)--fedora[Search for text in the given package manager'\''s list]' \ - '(--macports --opensuse --fedora --debian --ubuntu)--fink[Search for text in the given package manager'\''s list]' \ + '(--repology --macports --fink --opensuse --debian --ubuntu)--fedora[Search for text in the given database'\''s or package manager'\''s list]' \ + '(--repology --macports --opensuse --fedora --debian --ubuntu)--fink[Search for text in the given database'\''s or package manager'\''s list]' \ '--formula[Search online and locally for formulae]' \ '--help[Show this message]' \ - '(--fink --opensuse --fedora --debian --ubuntu)--macports[Search for text in the given package manager'\''s list]' \ + '(--repology --fink --opensuse --fedora --debian --ubuntu)--macports[Search for text in the given database'\''s or package manager'\''s list]' \ '(--closed)--open[Search for only open GitHub pull requests]' \ - '(--macports --fink --fedora --debian --ubuntu)--opensuse[Search for text in the given package manager'\''s list]' \ + '(--repology --macports --fink --fedora --debian --ubuntu)--opensuse[Search for text in the given database'\''s or package manager'\''s list]' \ '(--desc)--pull-request[Search for GitHub pull requests containing text]' \ '--quiet[Make some output more quiet]' \ - '(--macports --fink --opensuse --fedora --debian)--ubuntu[Search for text in the given package manager'\''s list]' \ + '(--macports --fink --opensuse --fedora --debian --ubuntu)--repology[Search for text in the given database'\''s or package manager'\''s list]' \ + '(--repology --macports --fink --opensuse --fedora --debian)--ubuntu[Search for text in the given database'\''s or package manager'\''s list]' \ '--verbose[Make some output more verbose]' } diff --git a/docs/Manpage.md b/docs/Manpage.md index 830bbc039b..2762575a7a 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -533,18 +533,20 @@ The search for *`text`* is extended online to `homebrew/core` and `homebrew/cask Search for only open GitHub pull requests. * `--closed`: Search for only closed GitHub pull requests. +* `--repology`: + Search for *`text`* in the given database's or package manager's list. * `--macports`: - Search for *`text`* in the given package manager's list. + Search for *`text`* in the given database's or package manager's list. * `--fink`: - Search for *`text`* in the given package manager's list. + Search for *`text`* in the given database's or package manager's list. * `--opensuse`: - Search for *`text`* in the given package manager's list. + Search for *`text`* in the given database's or package manager's list. * `--fedora`: - Search for *`text`* in the given package manager's list. + Search for *`text`* in the given database's or package manager's list. * `--debian`: - Search for *`text`* in the given package manager's list. + Search for *`text`* in the given database's or package manager's list. * `--ubuntu`: - Search for *`text`* in the given package manager's list. + Search for *`text`* in the given database's or package manager's list. ### `shellenv` diff --git a/manpages/brew.1 b/manpages/brew.1 index d9fd74bc9f..90fc1dbc39 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -742,28 +742,32 @@ Search for only open GitHub pull requests\. Search for only closed GitHub pull requests\. . .TP +\fB\-\-repology\fR +Search for \fItext\fR in the given database\'s or package manager\'s list\. +. +.TP \fB\-\-macports\fR -Search for \fItext\fR in the given package manager\'s list\. +Search for \fItext\fR in the given database\'s or package manager\'s list\. . .TP \fB\-\-fink\fR -Search for \fItext\fR in the given package manager\'s list\. +Search for \fItext\fR in the given database\'s or package manager\'s list\. . .TP \fB\-\-opensuse\fR -Search for \fItext\fR in the given package manager\'s list\. +Search for \fItext\fR in the given database\'s or package manager\'s list\. . .TP \fB\-\-fedora\fR -Search for \fItext\fR in the given package manager\'s list\. +Search for \fItext\fR in the given database\'s or package manager\'s list\. . .TP \fB\-\-debian\fR -Search for \fItext\fR in the given package manager\'s list\. +Search for \fItext\fR in the given database\'s or package manager\'s list\. . .TP \fB\-\-ubuntu\fR -Search for \fItext\fR in the given package manager\'s list\. +Search for \fItext\fR in the given database\'s or package manager\'s list\. . .SS "\fBshellenv\fR" Print export statements\. When run in a shell, this installation of Homebrew will be added to your \fBPATH\fR, \fBMANPATH\fR, and \fBINFOPATH\fR\.