Bring the man page up to date with the current version of the script.

This commit is contained in:
Paul Richards 2000-12-28 19:42:06 +00:00
parent 48ebd16e52
commit 9c0bdb861b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70445

View File

@ -29,15 +29,37 @@
.Os FreeBSD .Os FreeBSD
.Sh NAME .Sh NAME
.Nm pkg_update .Nm pkg_update
.Nd update an installed package .Nd update an installed package.
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl nv
.Op Fl r Ar oldpkg
.Ar newpkg.tgz
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
command is used to update an installed packaged, adjusting all other command is used to update an already installed package. It takes care
packages dependencies to take account of the update. 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 .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 .Sh SEE ALSO
.Xr pkg_add 1 , .Xr pkg_add 1 ,
.Xr pkg_create 1 , .Xr pkg_create 1 ,