From 8de5ceea8ee2a227a27010e3d1e757cd9f913017 Mon Sep 17 00:00:00 2001 From: Mingye Wang Date: Fri, 26 May 2023 22:07:01 +0800 Subject: [PATCH] archive_read_set_options.3: document zip options --- libarchive/archive_read_set_options.3 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/libarchive/archive_read_set_options.3 b/libarchive/archive_read_set_options.3 index b2db4cbcb..aeb8a88a9 100644 --- a/libarchive/archive_read_set_options.3 +++ b/libarchive/archive_read_set_options.3 @@ -255,6 +255,26 @@ have been concatenated together. Without this option, only the contents of the first concatenated archive would be read. .El +.It Format zip +.Bl -tag -compact -width indent +.It Cm compat-2x +Libarchive 2.x incorrectly encoded Unicode filenames on +some platforms. +This option mimics the libarchive 2.x filename handling +so that such archives can be read correctly. +.It Cm hdrcharset +The value is used as a character set name that will be +used when translating file names. +.It Cm ignorecrc32 +Skip the CRC32 check. +Mostly used for testing. +.It Cm mac-ext +Support Mac OS metadata extension that records data in special +files beginning with a period and underscore. +Defaults to enabled on Mac OS, disabled on other platforms. +Use +.Cm !mac-ext +to disable. .El .\" .Sh ERRORS -- 2.47.2