From: Elvis Angelaccio Date: Sun, 17 Mar 2024 21:20:29 +0000 (+0100) Subject: Fix archive_write_set_format_option for 7zip format (#2093) X-Git-Tag: v3.7.3~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b77c049e1306b9b0b0d3ed683926fc4ec8cd078;p=thirdparty%2Flibarchive.git Fix archive_write_set_format_option for 7zip format (#2093) A couple of small fixes to the documentation of the `archive_write_set_format_option` for the 7zip format. See commits for details. --- diff --git a/libarchive/archive_write_set_options.3 b/libarchive/archive_write_set_options.3 index f987e3e5b..454c79671 100644 --- a/libarchive/archive_write_set_options.3 +++ b/libarchive/archive_write_set_options.3 @@ -270,6 +270,7 @@ of physical CPU cores. .It Cm compression The value is one of .Dq store , +.Dq copy , .Dq deflate , .Dq bzip2 , .Dq lzma1 , @@ -277,12 +278,18 @@ The value is one of or .Dq ppmd to indicate how the following entries should be compressed. +The values +.Dq store +and +.Dq copy +are synonyms. Note that this setting is ignored for directories, symbolic links, and other special entries. .It Cm compression-level The value is interpreted as a decimal integer specifying the compression level. -Values between 0 and 9 are supported. +Values between 0 and 9 are supported, with the exception of bzip2 +which only supports values between 1 and 9. The interpretation of the compression level depends on the chosen compression method. .El