summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2011-11-25 09:30:09 +0000
committerMarc Espie <espie@cvs.openbsd.org>2011-11-25 09:30:09 +0000
commit9bebd2307da31c6e9bb5a94af6180035be7dd61f (patch)
tree65e1faec63b66a65a920e4e5f08b92fcc3fcc4a8 /usr.sbin
parent39785fc1144eaeb38c9c3eb8ac604a4bbca7f0b6 (diff)
describe fixed behavior a little better
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/pkg_delete.17
-rw-r--r--usr.sbin/pkg_add/pkg_info.17
2 files changed, 9 insertions, 5 deletions
diff --git a/usr.sbin/pkg_add/pkg_delete.1 b/usr.sbin/pkg_add/pkg_delete.1
index 07e2da7cffb..d5e8304fca4 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.42 2011/08/23 10:32:27 espie Exp $
+.\" $OpenBSD: pkg_delete.1,v 1.43 2011/11/25 09:30:08 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: August 23 2011 $
+.Dd $Mdocdate: November 25 2011 $
.Dt PKG_DELETE 1
.Os
.Sh NAME
@@ -65,6 +65,9 @@ Delete unused dependencies (packages that are not needed by anything tagged
as installed manually).
Can be used without
.Ar pkgnames .
+If used with
+.Ar pkgnames ,
+it will only delete non manual installs in the list.
.It Fl B Ar pkg-destdir
Set
.Ar pkg-destdir
diff --git a/usr.sbin/pkg_add/pkg_info.1 b/usr.sbin/pkg_add/pkg_info.1
index e087533aac2..5c6f1c485a2 100644
--- a/usr.sbin/pkg_add/pkg_info.1
+++ b/usr.sbin/pkg_add/pkg_info.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_info.1,v 1.46 2011/11/21 17:22:30 jmc Exp $
+.\" $OpenBSD: pkg_info.1,v 1.47 2011/11/25 09:30:08 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: November 21 2011 $
+.Dd $Mdocdate: November 25 2011 $
.Dt PKG_INFO 1
.Os
.Sh NAME
@@ -88,7 +88,7 @@ allows you to test for the presence of another (perhaps
prerequisite) package from a script.
If the package identified by
.Ar pkg-name
-is currently installed, return 0, otherwise return 1.
+is not currently installed, return 0, otherwise return 1.
In addition, the names of any package(s) found installed are printed to
stdout unless turned off using the
.Fl q
@@ -160,6 +160,7 @@ Show which packages require a given package.
Check a list for a given
.Ar pkgspec .
The following arguments are names of packages to verify.
+Exit status will be augmented by 2 if none of the packages do match.
.It Fl S
Show the package signature for each package.
This signature is a unique tag showing the package name, and the version number