xbps-{install,query}.8: add PACKAGE EXPRESSION section.

This commit is contained in:
Juan RP 2012-12-20 07:02:28 +01:00
parent faf0fd6a08
commit b77a6df950
2 changed files with 71 additions and 15 deletions

View File

@ -1,4 +1,4 @@
.Dd November 21, 2012 .Dd December 20, 2012
.Os Void Linux .Os Void Linux
.Dt xbps-install 8 .Dt xbps-install 8
.Sh NAME .Sh NAME
@ -12,12 +12,40 @@
The The
.Nm .Nm
utility installs and updates packages in the target root directory. utility installs and updates packages in the target root directory.
Three different ways are valid for The argument
.Ar PKG : .Ar PKG
by specifying just the is a package expression, which is explained in the
package name (best available version from repositories will be installed); .Em PACKAGE EXPRESSION
by specifying a package pattern with '>' '<' '>=' or '<=' (foo>=2.0) or section.
by specifying an exact package version, i.e (foo-1.0_1). .Sh PACKAGE EXPRESSION
A package expression is a form to match a pattern; currently xbps
supports 3 ways to specify them:
.Bl -dash
.It
by package name, i.e:
.Dq Sy foo .
.It
by exact package name and version, i.e:
.Dq Sy foo-1.0_1 .
.It
by specifying a package name and version separated by any of the following version comparators:
.Bl -item -width xx -compact
.Pp
.It
.Sy <
less than
.It
.Sy >
greater than
.It
.Sy <=
less or equal than
.It
.Sy >=
greater or equal than
.Pp
Example:
.Dq Sy foo>=2.0 .
.Sh OPTIONS .Sh OPTIONS
.Bl -tag -width -x .Bl -tag -width -x
.It Fl A, Fl -automatic .It Fl A, Fl -automatic
@ -44,7 +72,7 @@ Specifies a full path for the target root directory.
Skip synchronizing remote repository index files. Skip synchronizing remote repository index files.
.It Fl u, Fl -update .It Fl u, Fl -update
Update target package(s) rather than install. If Update target package(s) rather than install. If
.Op PKGNAME .Op PKG
not set, all installed packages will be updated. not set, all installed packages will be updated.
.It Fl v, Fl -verbose .It Fl v, Fl -verbose
Enables verbose messages. Enables verbose messages.

View File

@ -1,4 +1,4 @@
.Dd November 21, 2012 .Dd December 20, 2012
.Os Void Linux .Os Void Linux
.Dt xbps-query 8 .Dt xbps-query 8
.Sh NAME .Sh NAME
@ -14,12 +14,40 @@ The
.Nm .Nm
utility prints information of a specific package or packages stored utility prints information of a specific package or packages stored
in target root directory or in registered repositories. in target root directory or in registered repositories.
Three different ways are valid for The argument
.Ar PKG : .Ar PKG
by specifying just the is a package expression, which is explained in the
package name (best available version from repositories will be installed); .Em PACKAGE EXPRESSION
by specifying a package pattern with '>' '<' '>=' or '<=' (foo>=2.0) or section.
by specifying an exact package version, i.e (foo-1.0_1). .Sh PACKAGE EXPRESSION
A package expression is a form to match a pattern; currently xbps
supports 3 ways to specify them:
.Bl -dash
.It
by package name, i.e:
.Dq Sy foo .
.It
by exact package name and version, i.e:
.Dq Sy foo-1.0_1 .
.It
by specifying a package name and version separated by any of the following version comparators:
.Bl -item -width xx -compact
.Pp
.It
.Sy <
less than
.It
.Sy >
greater than
.It
.Sy <=
less or equal than
.It
.Sy >=
greater or equal than
.Pp
Example:
.Dq Sy foo>=2.0 .
.Sh OPTIONS .Sh OPTIONS
.Bl -tag -width -x .Bl -tag -width -x
.It Fl C, Fl -config Ar file .It Fl C, Fl -config Ar file