Add opensuse package search
This commit is contained in:
parent
20986e3ff5
commit
5600713bbb
@ -269,8 +269,8 @@ Note that these flags should only appear after a command.
|
|||||||
surrounded with slashes, then it is interpreted as a regular expression.
|
surrounded with slashes, then it is interpreted as a regular expression.
|
||||||
If no search term is given, all available formula are displayed.
|
If no search term is given, all available formula are displayed.
|
||||||
|
|
||||||
* `search --macports`|`--fink`|`--debian` <text>:
|
* `search --macports`|`--fink`|`--debian`|`--opensuse` <text>:
|
||||||
Search for <text> in MacPorts, Fink or Debian's package list.
|
Search for <text> in the given package manager's list.
|
||||||
|
|
||||||
* `sh [--env=std]`:
|
* `sh [--env=std]`:
|
||||||
Instantiate a Homebrew build environment. Uses our years-battle-hardened
|
Instantiate a Homebrew build environment. Uses our years-battle-hardened
|
||||||
|
|||||||
@ -11,6 +11,8 @@ module Homebrew extend self
|
|||||||
exec_browser "http://pdb.finkproject.org/pdb/browse.php?summary=#{ARGV.next}"
|
exec_browser "http://pdb.finkproject.org/pdb/browse.php?summary=#{ARGV.next}"
|
||||||
elsif ARGV.include? '--debian'
|
elsif ARGV.include? '--debian'
|
||||||
exec_browser "http://packages.debian.org/search?keywords=#{ARGV.next}&searchon=names&suite=all§ion=all"
|
exec_browser "http://packages.debian.org/search?keywords=#{ARGV.next}&searchon=names&suite=all§ion=all"
|
||||||
|
elsif ARGV.include? '--opensuse'
|
||||||
|
exec_browser "http://software.opensuse.org/search?q=#{ARGV.next}"
|
||||||
elsif (query = ARGV.first).nil?
|
elsif (query = ARGV.first).nil?
|
||||||
puts_columns Formula.names
|
puts_columns Formula.names
|
||||||
else
|
else
|
||||||
|
|||||||
@ -296,8 +296,8 @@ If \fB\-\-force\fR is passed, and there are multiple versions of \fIformula\fR i
|
|||||||
Perform a substring search of formula names for \fItext\fR\. If \fItext\fR is surrounded with slashes, then it is interpreted as a regular expression\. If no search term is given, all available formula are displayed\.
|
Perform a substring search of formula names for \fItext\fR\. If \fItext\fR is surrounded with slashes, then it is interpreted as a regular expression\. If no search term is given, all available formula are displayed\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fBsearch \-\-macports\fR|\fB\-\-fink\fR|\fB\-\-debian\fR \fItext\fR
|
\fBsearch \-\-macports\fR|\fB\-\-fink\fR|\fB\-\-debian\fR|\fB\-\-opensuse\fR \fItext\fR
|
||||||
Search for \fItext\fR in MacPorts, Fink or Debian\'s package list\.
|
Search for \fItext\fR in the given package manager\'s list\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fBsh [\-\-env=std]\fR
|
\fBsh [\-\-env=std]\fR
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user