summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2020-01-04 15:13:54 +0000
committerschwarze <schwarze@openbsd.org>2020-01-04 15:13:54 +0000
commitf5485e733f27c173d54c93391dc78b396281218f (patch)
treec5e5c04994c98b3b0b307afc0512d1a3ab41a153 /usr.sbin/pkg_add
parentCheck CMS API return value in openssl(1) cms (diff)
downloadwireguard-openbsd-f5485e733f27c173d54c93391dc78b396281218f.tar.xz
wireguard-openbsd-f5485e733f27c173d54c93391dc78b396281218f.zip
be a bit more precise about what %a and %v do in paths;
OK espie@
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_add.111
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/pkg_add.1 b/usr.sbin/pkg_add/pkg_add.1
index d4a98258d34..cb6bb2b6357 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.161 2019/12/04 10:53:27 espie Exp $
+.\" $OpenBSD: pkg_add.1,v 1.162 2020/01/04 15:13:54 schwarze 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: December 4 2019 $
+.Dd $Mdocdate: January 4 2020 $
.Dt PKG_ADD 1
.Os
.Sh NAME
@@ -221,9 +221,12 @@ All paths recognize certain special sequences,
which are expanded as follows:
.Bl -tag -width "%m"
.It %a
-The package architecture.
+The package architecture as returned by
+.Xr arch 1
+.Fl s .
.It %v
-The operating system version.
+The operating system version in the format
+.Dq digit dot digit .
.It %c
Expands to the string
.Qq snapshots