summaryrefslogtreecommitdiff
path: root/tar
diff options
context:
space:
mode:
authorMartin Matuska <martin@matuska.org>2020-01-23 16:13:19 +0100
committerMartin Matuska <martin@matuska.org>2020-01-23 16:13:19 +0100
commitd653d0b38de56f30dab6516d41b9793f6827adfe (patch)
treee167e591b6739dc906cb4ce872203508ad4898a8 /tar
parent05a34e47b3ed2bef4d7b6d86fa4d6bbd549c0b4a (diff)
downloadlibarchive-d653d0b38de56f30dab6516d41b9793f6827adfe.tar.gz
XAR writer: fix compression output buffer handling
Add "none" as acceptable value to xar:checksum and xar:toc-checksum Document XAR options in bsdtar(1) Fixes #1317
Diffstat (limited to 'tar')
-rw-r--r--tar/bsdtar.119
1 files changed, 18 insertions, 1 deletions
diff --git a/tar/bsdtar.1 b/tar/bsdtar.1
index 7af8f9f7..b95a3314 100644
--- a/tar/bsdtar.1
+++ b/tar/bsdtar.1
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 20, 2020
+.Dd January 23, 2020
.Dt TAR 1
.Os
.Sh NAME
@@ -650,6 +650,23 @@ lines in the output.
.It Cm mtree:indent
Produce human-readable output by indenting options and splitting lines
to fit into 80 columns.
+.It Cm xar:checksum Ns = Ns Ar type
+Use
+.Ar type
+as file checksum method.
+Supported values are none, md5 and sha1 (default).
+.It Cm xar:compression Ns = Ns Ar type
+Use
+.Ar type
+as compression method.
+Supported values are none, bzip2, gzip (default), lzma and xz.
+.It Cm xar:compression_level
+A decimal integer from 1 to 9 specifying the compression level.
+.It Cm xar:toc-checksum Ns = Ns Ar type
+Use
+.Ar type
+as table of contents checksum method.
+Supported values are none, md5 and sha1 (default).
.It Cm zip:compression Ns = Ns Ar type
Use
.Ar type