summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/pkg_add.1
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2017-05-18 12:29:55 +0000
committerMarc Espie <espie@cvs.openbsd.org>2017-05-18 12:29:55 +0000
commit1a50de94a0ed62607b12cfd238d247041beae0ae (patch)
tree160ec83a3d12c1d04f1f7c43924fb9eba6272e75 /usr.sbin/pkg_add/pkg_add.1
parentb869622604f34ce05041f54217e93a85d49d2601 (diff)
document installpath, explain PKG_PATH defaults in terms of it.
Diffstat (limited to 'usr.sbin/pkg_add/pkg_add.1')
-rw-r--r--usr.sbin/pkg_add/pkg_add.113
1 files changed, 9 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/pkg_add.1 b/usr.sbin/pkg_add/pkg_add.1
index 9ee8707eb0c..1ec3aaacf1c 100644
--- a/usr.sbin/pkg_add/pkg_add.1
+++ b/usr.sbin/pkg_add/pkg_add.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_add.1,v 1.147 2017/05/13 14:38:28 schwarze Exp $
+.\" $OpenBSD: pkg_add.1,v 1.148 2017/05/18 12:29:54 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: May 13 2017 $
+.Dd $Mdocdate: May 18 2017 $
.Dt PKG_ADD 1
.Os
.Sh NAME
@@ -145,14 +145,19 @@ environment variable,
then the
.Ev PKG_PATH
environment variable.
+The special url
+.Sq installpath
+refers to the contents of
+.Xr installurl 5 .
If neither
.Ev TRUSTED_PKG_PATH
nor
.Ev PKG_PATH
are defined,
.Nm
-will build its path based on the contents of
-.Xr installurl 5 .
+will use
+.Sq ./:installpath
+as a default.
Specifying
.Ql -
as a package name causes