summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-10-11 18:45:43 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-10-11 18:45:43 +0000
commit08af9c0224af2cab613f3f43cff9398e0e1866d2 (patch)
tree4a02a25cd38170654b2c379df4fef6497af28515
parent4ac9e313c8745f79227569eb9ee730766b326923 (diff)
document stem--flavor
-rw-r--r--usr.sbin/pkg_add/pkg_add.116
1 files changed, 14 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_add.1 b/usr.sbin/pkg_add/pkg_add.1
index 74517f6f7aa..1ec3b321e32 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.78 2009/05/09 13:30:09 jmc Exp $
+.\" $OpenBSD: pkg_add.1,v 1.79 2009/10/11 18:45:42 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 9 2009 $
+.Dd $Mdocdate: October 11 2009 $
.Dt PKG_ADD 1
.Os
.Sh NAME
@@ -147,6 +147,18 @@ option
.Fl i
.Pc .
.Pp
+To avoid ambiguities,
+.Nm
+supports
+.Sq stems with flavors ,
+that is, a stem separated from flavors with a double dash.
+For instance, the previous ambiguity could be resolved by using
+.Li pkg_add screen--
+(matches only the normal flavor)
+or
+.Li pkg_add screen--static
+(matches only the static flavor).
+.Pp
If the environment variable
.Ev PKG_CACHE
is set, every package retrieved from a distant location will also be