summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2022-11-09 10:10:54 +0000
committerMarc Espie <espie@cvs.openbsd.org>2022-11-09 10:10:54 +0000
commit422b3da32d8736526af11faa5018c1f904f4e2b7 (patch)
treed491bf4e34cd0e2956037c49093486f0d3079548 /usr.sbin/pkg_add
parent13f98e113fb16ed4f0c4c050a4c526e84c4bd826 (diff)
document '=' as a pkgspec
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_create.112
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_create.1 b/usr.sbin/pkg_add/pkg_create.1
index a3a6113dd65..31909c08889 100644
--- a/usr.sbin/pkg_add/pkg_create.1
+++ b/usr.sbin/pkg_add/pkg_create.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_create.1,v 1.126 2022/11/01 10:50:05 espie Exp $
+.\" $OpenBSD: pkg_create.1,v 1.127 2022/11/09 10:10:53 espie Exp $
.\"
.\" Documentation and design originally from FreeBSD. All the code has
.\" been rewritten since. We keep the documentation's notice:
@@ -21,7 +21,7 @@
.\" [jkh] Took John's changes back and made some additional extensions for
.\" better integration with FreeBSD's new ports collection.
.\"
-.Dd $Mdocdate: November 1 2022 $
+.Dd $Mdocdate: November 9 2022 $
.Dt PKG_CREATE 1
.Os
.Sh NAME
@@ -224,6 +224,14 @@ see
and a
.Ar default
package name, in case there is no listing of available packages.
+.Pp
+As a special case,
+.Sq =
+may be used as a
+.Ar pkgspec ,
+to match the
+.Ar default
+version exactly.
.It Fl p Ar prefix
Set
.Ar prefix