summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-09-17 10:35:28 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-09-17 10:35:28 +0000
commita88d99f1b14827d45b27798f32a597773ff3e1a4 (patch)
tree0d9bc0ba01d53ae5463e04307dd4e008f097da1e /usr.sbin/pkg_add
parentbf230f68892b0d66f92fc72cc7aa2252d9aed679 (diff)
document quickie $o->contents() method
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod b/usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod
index 395a70d730d..8624cfe031c 100644
--- a/usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod
+++ b/usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod
@@ -1,4 +1,4 @@
-$OpenBSD: OpenBSD::Ustar.pod,v 1.8 2005/06/26 16:48:30 espie Exp $
+$OpenBSD: OpenBSD::Ustar.pod,v 1.9 2005/09/17 10:35:27 espie Exp $
=head1 NAME
@@ -79,6 +79,9 @@ Actual extraction is performed through C<$o-E<gt>extract()> and is not
mandatory. Thus, client code can control whether it wants to extract archive
elements or not.
+Small files can also be directly extracted to a scalar using
+C<$v = $o-E<gt>contents()>.
+
Actual writing is performed through C<$o-E<gt>write()> and is not mandatory
either.