[Bug 267426] [PATCH] unzip: Document optional member list

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 30 Oct 2022 01:21:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267426

--- 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

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