Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xbps-checkvers.1: Add EXAMPLES section, fix typo. #316

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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