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-pkgdb.1: Add EXAMPLES section. #413

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
16 changes: 14 additions & 2 deletions bin/xbps-pkgdb/xbps-pkgdb.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.Dd June 20, 2019
.Dd June 27, 2021
.Dt XBPS-PKGDB 1
.Sh NAME
.Nm xbps-pkgdb
Expand Down Expand Up @@ -40,7 +40,8 @@ Updates the pkgdb format to the latest version.
.Sh OPTIONS
.Bl -tag -width -x
.It Fl a, Fl -all
Process all registered packages, regardless of its state.
Process all packages instead of only the ones listed in
.Ar PKGNAME .
.It Fl C, Fl -config Ar dir
Specifies a path to the XBPS configuration directory.
If the first character is not '/' then it's a relative path of
Expand Down Expand Up @@ -121,6 +122,17 @@ Default package database (0.38 format). Keeps track of installed packages and pr
.It Ar /var/cache/xbps
Default cache directory to store downloaded binary packages.
.El
.Sh EXAMPLES
Prevent package
.Sq foo
from being updated during a system update:
.Pp
.Dl # xbps-pkgdb -m hold foo
.Pp
Remove hold on package
.Sq foo :
.Pp
.Dl # xbps-pkgdb -m unhold foo
.Sh SEE ALSO
.Xr xbps-checkvers 1 ,
.Xr xbps-create 1 ,
Expand Down