From 9b77c049e1306b9b0b0d3ed683926fc4ec8cd078 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sun, 17 Mar 2024 22:20:29 +0100 Subject: [PATCH] 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. --- libarchive/archive_write_set_options.3 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- 2.47.2