summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorpaul <paul@FreeBSD.org>2000-12-28 19:42:06 +0000
committerpaul <paul@FreeBSD.org>2000-12-28 19:42:06 +0000
commita411a40492e7469cc20dc01c63ad989fe373b39a (patch)
tree23c2b83de51a3c694ba76cf1af6f9fa49995909a /usr.sbin
parent5910beac29d522719018c870664710e7cd5ab1a9 (diff)
downloadFreeBSD-src-a411a40492e7469cc20dc01c63ad989fe373b39a.zip
FreeBSD-src-a411a40492e7469cc20dc01c63ad989fe373b39a.tar.gz
Bring the man page up to date with the current version of the script.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_install/update/pkg_update.128
1 files changed, 25 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/update/pkg_update.1 b/usr.sbin/pkg_install/update/pkg_update.1
index a92b0f8..2a8d36e 100644
--- a/usr.sbin/pkg_install/update/pkg_update.1
+++ b/usr.sbin/pkg_install/update/pkg_update.1
@@ -29,15 +29,37 @@
.Os FreeBSD
.Sh NAME
.Nm pkg_update
-.Nd update an installed package
+.Nd update an installed package.
.Sh SYNOPSIS
.Nm
+.Op Fl nv
+.Op Fl r Ar oldpkg
+.Ar newpkg.tgz
.Sh DESCRIPTION
The
.Nm
-command is used to update an installed packaged, adjusting all other
-packages dependencies to take account of the update.
+command is used to update an already installed package. It takes care
+of propagating dependencies from the replaced versions to the newly
+installed version. It would normally be used to replace all currently
+installed versions of a package with a more current version. It can
+also be used to revert a package to an older version by specifying the
+version to be replaced with the
+.Fl r
+option.
.Pp
+The following options are available:
+.Bl -tag -width indent
+.It Fl n
+Print the actions to be performed but don't actually do them.
+.It Fl r Ar oldpkg
+Replace the specified version of the package. Normally
+.Nm
+will replace all installed versions of a package with the new version.
+This isn't always desirable since for some packages it is expected
+that multiple versions will be installed at the same time.
+This option allows a specific version to be replaced.
+.It Fl v
+Enable verbose output.
.Sh SEE ALSO
.Xr pkg_add 1 ,
.Xr pkg_create 1 ,
OpenPOWER on IntegriCloud