summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/files/admin
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2012-12-17 04:34:02 +0000
committeragc <agc@pkgsrc.org>2012-12-17 04:34:02 +0000
commit3e78c61e20fad67639cc439ed7e45478205be1a8 (patch)
treefa3ba6bfab5392e963881c0ba9ecdeb1319b2c65 /pkgtools/pkg_install/files/admin
parentad7a76c54dd85c92eb103f3987693b73eb1e7c49 (diff)
downloadpkgsrc-3e78c61e20fad67639cc439ed7e45478205be1a8.tar.gz
Update manual pages for better wording, and a better usage display for
pkg_info(1) - from Bug Hunting in PR pkg/47328. The following text is taken from Bug's PR: The pkg_info(1), pkg_admin(1), and pkg_install.conf(5) man pages from pkgsrc' pkgtools/pkg_install package contain errors, have inaccurate / incomplete / illogically ordered descriptions, have incorrect macro usages / macro errors, miss an option description (`-h', for pkg_info(1)), and / or contain other imperfections. In short: these man pages can use a big correction update. Additionally, the `usage' message in main.c from pkg_info(1) contains an incorrect option order.
Diffstat (limited to 'pkgtools/pkg_install/files/admin')
-rw-r--r--pkgtools/pkg_install/files/admin/pkg_admin.18
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/admin/pkg_admin.1 b/pkgtools/pkg_install/files/admin/pkg_admin.1
index 50d88b1cc6f..6b58ebad409 100644
--- a/pkgtools/pkg_install/files/admin/pkg_admin.1
+++ b/pkgtools/pkg_install/files/admin/pkg_admin.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkg_admin.1,v 1.32 2010/06/16 23:02:48 joerg Exp $
+.\" $NetBSD: pkg_admin.1,v 1.33 2012/12/17 04:34:02 agc Exp $
.\"
.\" Copyright (c) 1999-2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -34,7 +34,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd June 16, 2010
+.Dd December 14, 2012
.Dt PKG_ADMIN 1
.Os
.Sh NAME
@@ -257,7 +257,9 @@ matches
.Ar pattern ,
otherwise returns false.
.It Cm rebuild
-Rebuild the package database mapping from scratch.
+Rebuild the package database mapping from scratch, using the
+.Pa +CONTENTS
+files of the installed packages.
This option is only intended for recovery after system crashes
during package installation and removal.
.It Cm rebuild-tree