Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2022 01:21:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 267426] [PATCH] unzip: Document optional member list
Message-ID:  <bug-267426-9-l2mctOWo5V@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-267426-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-267426-9@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267426

--- Comment #1 from Pat Maddox <pat@patmaddox.com> ---
I attached a patch file, but here it is in text form:

diff --git a/usr.bin/unzip/unzip.1 b/usr.bin/unzip/unzip.1
index bb43abf43a85..bae7b3a21028 100644
--- a/usr.bin/unzip/unzip.1
+++ b/usr.bin/unzip/unzip.1
@@ -38,6 +38,7 @@
 .Op Fl x Ar pattern
 .Op Fl P Ar password
 .Ar zipfile
+.Op Ar member ...
 .Sh DESCRIPTION
 .\" ...
 The following options are available:
@@ -120,6 +121,11 @@ mode changes the way in which additional arguments are
parsed.
 Currently only
 .Xr zipinfo 1L
 mode 1 is supported, which lists the file names one per line.
+.It Ar [member ...]
+Optional list of members to extract from the zipfile.
+Can include patterns, e.g.
+.Ar 'memberdir/*'
+will extract all files and dirs below memberdir.
 .El
 .Pp
 Note that only one of

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267426-9-l2mctOWo5V>