aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gpg.texi
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-06-15 11:58:35 +0000
committerWerner Koch <[email protected]>2023-06-15 11:59:16 +0000
commit2178f35dffdc0d0129ad1da2e34ba243d7869378 (patch)
treedd82300ea48009d0b7a3b1d587a1ac2e0fd61c49 /doc/gpg.texi
parentgpgsm: New option --input-size-hint. (diff)
downloadgnupg-2178f35dffdc0d0129ad1da2e34ba243d7869378.tar.gz
gnupg-2178f35dffdc0d0129ad1da2e34ba243d7869378.zip
gpg: New option --no-compress as alias for -z0.
Diffstat (limited to 'doc/gpg.texi')
-rw-r--r--doc/gpg.texi19
1 files changed, 12 insertions, 7 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 61f047cc7..15b3243d0 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -1675,24 +1675,29 @@ prevent the creation of a @file{~/.gnupg} homedir.
@item -z @var{n}
@itemx --compress-level @var{n}
@itemx --bzip2-compress-level @var{n}
+@itemx --no-compress
@opindex compress-level
@opindex bzip2-compress-level
+@opindex no-compress
Set compression level to @var{n} for the ZIP and ZLIB compression
algorithms. The default is to use the default compression level of zlib
(normally 6). @option{--bzip2-compress-level} sets the compression level
for the BZIP2 compression algorithm (defaulting to 6 as well). This is a
different option from @option{--compress-level} since BZIP2 uses a
significant amount of memory for each additional compression level.
-@option{-z} sets both. A value of 0 for @var{n} disables compression.
-A value of -1 forces compression using the default level.
+
+Option @option{-z} sets both. A value of 0 for @var{n} disables
+compression. A value of -1 forces compression using the default
+level. Option @option{--no-compress} is identical to @option{-z0}.
Except for the @option{--store} command compression is always used
unless @command{gpg} detects that the input is already compressed. To
-inhibit the use of compression use @option{-z0}; to force compression
-use @option{-z-1} or option @option{z} with another compression level
-than the default as indicated by -1. Note that this overriding of the
-default deection works only with @option{z} and not with the long
-variant of this option.
+inhibit the use of compression use @option{-z0} or
+@option{--no-compress}; to force compression use @option{-z-1} or
+option @option{z} with another compression level than the default as
+indicated by -1. Note that this overriding of the default deection
+works only with @option{z} and not with the long variant of this
+option.
@item --bzip2-decompress-lowmem