summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/pkg_info.1
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-03-13 09:19:03 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-03-13 09:19:03 +0000
commitedb2753a3529fd780991f576bb43e40999cf4bdd (patch)
tree22228fc6f74af8ec2a9e7277fe06c169db2f05fe /usr.sbin/pkg_add/pkg_info.1
parentda994d493a2b0042e623043ee9294668250969c9 (diff)
document some common usage of pkg_info to make us look cool.
okay jmc@, prod by theo.
Diffstat (limited to 'usr.sbin/pkg_add/pkg_info.1')
-rw-r--r--usr.sbin/pkg_add/pkg_info.111
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_info.1 b/usr.sbin/pkg_add/pkg_info.1
index 3adc408cabb..03c9fcb9614 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.15 2004/12/02 00:29:04 xsa Exp $
+.\" $OpenBSD: pkg_info.1,v 1.16 2005/03/13 09:19:02 espie Exp $
.\"
.\" FreeBSD install - a package for the installation and maintenance
.\" of non-core utilities.
@@ -53,6 +53,15 @@ will try to complete
.Ar pkg-name
with a version number while looking through installed packages.
.Pp
+When browsing through uninstalled packages, running
+.Ic pkg_info -I *.tgz
+will report a summary line for each package, so that it is possible to
+run
+.Ic pkg_info pkgname.tgz
+to obtain a longer package description, and
+.Ic pkg_add -n pkgname.tgz
+to check that the installation would proceed cleanly, including dependencies.
+.Pp
The following command-line options are supported:
.Bl -tag -width indent
.It Fl A