summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/pod
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-01-12 10:14:38 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-01-12 10:14:38 +0000
commit65c00758af3c317b08b3ad80cf71387759abd3f4 (patch)
treea961b120e93c7e02b679eb528fcfd6b2016ee0f6 /usr.sbin/pkg_add/pod
parentb49e8d180cde1f19078ab76121300e67533adf90 (diff)
more auto-cache goodness
Diffstat (limited to 'usr.sbin/pkg_add/pod')
-rw-r--r--usr.sbin/pkg_add/pod/OpenBSD::PkgSpec.pod6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pod/OpenBSD::PkgSpec.pod b/usr.sbin/pkg_add/pod/OpenBSD::PkgSpec.pod
index e26ee221344..f06bbd5afe6 100644
--- a/usr.sbin/pkg_add/pod/OpenBSD::PkgSpec.pod
+++ b/usr.sbin/pkg_add/pod/OpenBSD::PkgSpec.pod
@@ -1,4 +1,4 @@
-$OpenBSD: OpenBSD::PkgSpec.pod,v 1.6 2009/11/10 14:42:14 espie Exp $
+$OpenBSD: OpenBSD::PkgSpec.pod,v 1.7 2010/01/12 10:14:37 espie Exp $
=head1 NAME
@@ -21,3 +21,7 @@ extract matching package names from a C<@list>. The resulting list
C<@sublist> will only hold the package names that match the specification.
For performance reason, the result may contain duplicates.
+
+Note that any pattern will create a C<PkgSpec> object. If the syntax is
+incorrect, the resulting object won't match anything. Use
+C<$spec-E<gt>is_valid> to check for correctness.