xbps-query.8: sync with reality.

This commit is contained in:
Juan RP 2014-03-21 14:15:25 +01:00
parent cb66092fbc
commit 981bff38cf

View File

@ -1,4 +1,4 @@
.Dd January 9, 2014 .Dd March 21, 2014
.Os Void Linux .Os Void Linux
.Dt xbps-query 8 .Dt xbps-query 8
.Sh NAME .Sh NAME
@ -58,6 +58,9 @@ Specifies a full path to the cache directory, where binary packages are stored.
Enables extra debugging shown to stderr. Enables extra debugging shown to stderr.
.It Fl h, Fl -help .It Fl h, Fl -help
Show the help usage. Show the help usage.
.It Fl p, Fl -property Ar PROP[,...]
Only match this package property.
Multiple properties can be specified by delimiting them with commas.
.It Fl R, Fl -repository=url .It Fl R, Fl -repository=url
Enable repository mode. This mode explicitly looks in repositories, rather Enable repository mode. This mode explicitly looks in repositories, rather
than looking in the target root directory. The than looking in the target root directory. The
@ -127,8 +130,8 @@ The
argument can be a simple string or a shell wildcard pattern as explained in argument can be a simple string or a shell wildcard pattern as explained in
.Xr fnmatch 3 . .Xr fnmatch 3 .
Multiple patterns may be specified. Multiple patterns may be specified.
.It Fl s, Fl -search Ar PATTERN... .It Fl s, Fl -search Ar PATTERN... [ Fl -property Ar PROP ]
Search for packages matching Search for packages in repositories matching
.Ar PATTERN .Ar PATTERN
on its on its
.Em pkgver .Em pkgver
@ -139,13 +142,16 @@ properties. The same rules explained in the
option are applied, but a option are applied, but a
.Sy PACKAGE EXPRESSION .Sy PACKAGE EXPRESSION
is also supported. is also supported.
If a package property is specified with
.Fl -property,
all packages matching
.Ar PATTERN
against
.Ar PROP
will be shown.
.It Fl f, Fl -files Ar PKG .It Fl f, Fl -files Ar PKG
Show the package files for Show the package files for
.Ar PKG . .Ar PKG .
.It Fl p, Fl -property Ar PROP[,...] Ar PKG
Show a property for
.Ar PKG .
Multiple properties can be specified by delimiting them with commas.
.It Fl x, Fl -deps Ar PKG .It Fl x, Fl -deps Ar PKG
Show the required dependencies for Show the required dependencies for
.Ar PKG . .Ar PKG .