summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2011-07-12 10:34:10 +0000
committerMarc Espie <espie@cvs.openbsd.org>2011-07-12 10:34:10 +0000
commitdb1f139aa305c531e5ad6489f7ad5eeeb53b3864 (patch)
tree460a1f4e5e0654590ead423d1ea267e432286260 /usr.sbin/pkg_add
parent7b906396cc72861ffcb60f2f4191a7b5952172d6 (diff)
document new -a
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_delete.112
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/pkg_delete.1 b/usr.sbin/pkg_add/pkg_delete.1
index 7cec74155d0..6aceee5e92d 100644
--- a/usr.sbin/pkg_add/pkg_delete.1
+++ b/usr.sbin/pkg_add/pkg_delete.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_delete.1,v 1.37 2011/03/19 09:39:39 jmc Exp $
+.\" $OpenBSD: pkg_delete.1,v 1.38 2011/07/12 10:34:09 espie Exp $
.\"
.\" Documentation and design originally from FreeBSD. All the code has
.\" been rewritten since. We keep the documentation's notice:
@@ -15,7 +15,7 @@
.\" Jordan K. Hubbard
.\"
.\"
-.Dd $Mdocdate: March 19 2011 $
+.Dd $Mdocdate: July 12 2011 $
.Dt PKG_DELETE 1
.Os
.Sh NAME
@@ -23,7 +23,7 @@
.Nd delete software package distributions
.Sh SYNOPSIS
.Nm pkg_delete
-.Op Fl cIimnqsvx
+.Op Fl acIimnqsvx
.Op Fl B Ar pkg-destdir
.Op Fl D Ar name Ns Op = Ns Ar value
.Ar pkg-name Op Ar ...
@@ -51,6 +51,12 @@ can be omitted, unless the resulting specification is ambiguous.
.Pp
The options are as follows:
.Bl -tag -width BB-pkg-destdir
+.It Fl a
+Delete unused dependencies (packages that are not needed by anything tagged
+as installed manually).
+Don't use any
+.Ar pkg-name
+with this option.
.It Fl B Ar pkg-destdir
Set
.Ar pkg-destdir