summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_alternatives/files/pkg_alternatives.8
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/pkg_alternatives/files/pkg_alternatives.8')
-rw-r--r--pkgtools/pkg_alternatives/files/pkg_alternatives.812
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgtools/pkg_alternatives/files/pkg_alternatives.8 b/pkgtools/pkg_alternatives/files/pkg_alternatives.8
index 3e990da236c..ca90e10ad09 100644
--- a/pkgtools/pkg_alternatives/files/pkg_alternatives.8
+++ b/pkgtools/pkg_alternatives/files/pkg_alternatives.8
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkg_alternatives.8,v 1.1.1.1 2005/01/25 13:00:46 jmmv Exp $
+.\" $NetBSD: pkg_alternatives.8,v 1.2 2005/01/25 16:27:37 jmmv Exp $
.\"
.\" pkg_alternatives - Generic wrappers for programs with similar interfaces
.\" Copyright (c) 2005 Julio M. Merino Vidal <jmmv@NetBSD.org>
@@ -154,6 +154,13 @@ Removes any manual configuration from each wrapper associated to the given
package.
This means that all the affected wrappers are then free to choose whichever
alternative they prefer.
+.It destroy
+Removes the alternative database, found in
+.Pa @DBDIR@ ,
+and all its associated wrappers and manual pages.
+This action is intended to be used by the
+.Nm
+package.
.It list
Lists which of the installed packages provide alternatives.
Any of the packages shown by this command can then be fed back to the
@@ -175,6 +182,9 @@ Basically, it scans the later looking for packages with an
file in them, and, for each of those, the
.Sq register
action is called with the appropriate file name.
+This action is intended to be used by the
+.Nm
+package or in case of database corruption.
.It register Ar package wrapper alternative arguments
Registers a new
.Ar alternative