diff --git a/docs/man/borg-compression.1 b/docs/man/borg-compression.1 index f4ee1bf8e..c942a71a8 100644 --- a/docs/man/borg-compression.1 +++ b/docs/man/borg-compression.1 @@ -54,14 +54,14 @@ Use lz4 compression. High speed, low compression. (default) .TP .B zlib[,L] Use zlib ("gz") compression. Medium speed, medium compression. -If you do not explicitely give the compression level L (ranging from 0 +If you do not explicitly give the compression level L (ranging from 0 to 9), it will use level 6. Giving level 0 (means "no compression", but still has zlib protocol overhead) is usually pointless, you better use "none" compression. .TP .B lzma[,L] Use lzma ("xz") compression. Low speed, high compression. -If you do not explicitely give the compression level L (ranging from 0 +If you do not explicitly give the compression level L (ranging from 0 to 9), it will use level 6. Giving levels above 6 is pointless and counterproductive because it does not compress better due to the buffer size used by borg \- but it wastes diff --git a/docs/usage/help.rst.inc b/docs/usage/help.rst.inc index 3201dab4f..02691d58c 100644 --- a/docs/usage/help.rst.inc +++ b/docs/usage/help.rst.inc @@ -245,14 +245,14 @@ lz4 zlib[,L] Use zlib ("gz") compression. Medium speed, medium compression. - If you do not explicitely give the compression level L (ranging from 0 + If you do not explicitly give the compression level L (ranging from 0 to 9), it will use level 6. Giving level 0 (means "no compression", but still has zlib protocol overhead) is usually pointless, you better use "none" compression. lzma[,L] Use lzma ("xz") compression. Low speed, high compression. - If you do not explicitely give the compression level L (ranging from 0 + If you do not explicitly give the compression level L (ranging from 0 to 9), it will use level 6. Giving levels above 6 is pointless and counterproductive because it does not compress better due to the buffer size used by borg - but it wastes diff --git a/src/borg/archiver.py b/src/borg/archiver.py index 877f6f7b7..450e4d9e7 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -1973,20 +1973,20 @@ def do_break_lock(self, args, repository): zstd[,L] Use zstd ("zstandard") compression, a modern wide-range algorithm. - If you do not explicitely give the compression level L (ranging from 1 + If you do not explicitly give the compression level L (ranging from 1 to 22), it will use level 3. Archives compressed with zstd are not compatible with borg < 1.1.4. zlib[,L] Use zlib ("gz") compression. Medium speed, medium compression. - If you do not explicitely give the compression level L (ranging from 0 + If you do not explicitly give the compression level L (ranging from 0 to 9), it will use level 6. Giving level 0 (means "no compression", but still has zlib protocol overhead) is usually pointless, you better use "none" compression. lzma[,L] Use lzma ("xz") compression. Low speed, high compression. - If you do not explicitely give the compression level L (ranging from 0 + If you do not explicitly give the compression level L (ranging from 0 to 9), it will use level 6. Giving levels above 6 is pointless and counterproductive because it does not compress better due to the buffer size used by borg - but it wastes