Skip to content

Commit

Permalink
xbps-checkvers.1: Add EXAMPLES section, fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
flexibeast committed Jul 28, 2020
1 parent 44cd938 commit 2c02ed5
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion bin/xbps-checkvers/xbps-checkvers.1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ all registered repositories by comparing the package versions against
the source package versions available in a
.Nm void-packages
tree. By default and unless the
.Fl i, Fl -installed
.Fl I, Fl -installed
option is set, it will compare package versions in repositories against
the
.Nm void-packages
Expand Down Expand Up @@ -94,6 +94,35 @@ is printed instead.
.It Fl V, Fl -version
Show the version information.
.El
.Sh EXAMPLES
Show all packages in
.Pa ~/void-packages ,
listing the repository version and the
.Pa srcpkgs
version:
.Pp
.Dl $ xbps-checkvers -s
.Pp
Show packages in
.Pa ~/void-packages
which have a newer version than the installed version:
.Pp
.Dl $ xbps-checkvers -I
.Pp
Show packages in
.Pa /home/user/src/void-packages
which have a newer version than the installed version:
.Pp
.Dl $ xbps-checkvers -D /home/user/src/void-packages -I
.Pp
Check whether installed package
.Sq foo
has a newer version in the
.Nm void-packages
tree:
.Pp
.Dl $ xbps-checkvers -I -m foo
.Pp
.Sh SEE ALSO
.Xr xbps-create 1 ,
.Xr xbps-dgraph 1 ,
Expand Down

0 comments on commit 2c02ed5

Please sign in to comment.