xbps-{install,query}.8: clarify package expression matching.

This commit is contained in:
Juan RP 2014-04-18 08:53:14 +02:00
parent 20fcf3ad0a
commit 1fb3c501ed
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.Dd April 7, 2014 .Dd April 18, 2014
.Os Void Linux .Os Void Linux
.Dt xbps-install 8 .Dt xbps-install 8
.Sh NAME .Sh NAME
@ -24,9 +24,11 @@ supports 3 ways to specify them:
.It .It
by package name, i.e: by package name, i.e:
.Dq Sy foo . .Dq Sy foo .
The package with the greatest version available in all repositories will be choosen
.It .It
by exact package name and version, i.e: by exact package name and version, i.e:
.Dq Sy foo-1.0_1 . .Dq Sy foo-1.0_1 .
The first package matching expression in a repository will be choosen.
.It .It
by specifying a package name and version separated by any of the following version comparators: by specifying a package name and version separated by any of the following version comparators:
.Bl -item -width xx -compact .Bl -item -width xx -compact
@ -46,6 +48,7 @@ greater or equal than
.Pp .Pp
Example: Example:
.Dq Sy foo>=2.0 . .Dq Sy foo>=2.0 .
The first package matching expression in a repository will be choosen.
.Sh OPTIONS .Sh OPTIONS
.Bl -tag -width -x .Bl -tag -width -x
.It Fl A, Fl -automatic .It Fl A, Fl -automatic

View File

@ -1,4 +1,4 @@
.Dd April 7, 2014 .Dd April 18, 2014
.Os Void Linux .Os Void Linux
.Dt xbps-query 8 .Dt xbps-query 8
.Sh NAME .Sh NAME
@ -26,9 +26,11 @@ supports 3 ways to specify them:
.It .It
by package name, i.e: by package name, i.e:
.Dq Sy foo . .Dq Sy foo .
The package with the greatest version available in all repositories will be choosen.
.It .It
by exact package name and version, i.e: by exact package name and version, i.e:
.Dq Sy foo-1.0_1 . .Dq Sy foo-1.0_1 .
The first package matching expression in a repository will be choosen.
.It .It
by specifying a package name and version separated by any of the following version comparators: by specifying a package name and version separated by any of the following version comparators:
.Bl -item -width xx -compact .Bl -item -width xx -compact
@ -48,6 +50,7 @@ greater or equal than
.Pp .Pp
Example: Example:
.Dq Sy foo>=2.0 . .Dq Sy foo>=2.0 .
The first package matching expression in a repository will be choosen.
.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