From dcf747d620019ff24772e4406044570f8e7c1928 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Tue, 18 Nov 2003 02:52:35 +0000 Subject: * options.h, g10.c (main), compress-bz2.c (init_uncompress): Add --bz2-compress-lowmem to set bzlib "small" flag for low memory (but slow) decompression. --- g10/g10.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'g10/g10.c') diff --git a/g10/g10.c b/g10/g10.c index 6509b3e0e..f449dde66 100644 --- a/g10/g10.c +++ b/g10/g10.c @@ -192,6 +192,7 @@ enum cmd_and_opt_values oCompressAlgo, oCompressLevel, oBZ2CompressLevel, + oBZ2CompressLowmem, oPasswdFD, #ifdef __riscos__ oPasswdFile, @@ -423,6 +424,7 @@ static ARGPARSE_OPTS opts[] = { { oCompress, NULL, 1, N_("|N|set compress level N (0 disables)") }, { oCompressLevel, "compress-level", 1, "@" }, { oBZ2CompressLevel, "bzip2-compress-level", 1, "@" }, + { oBZ2CompressLowmem, "bzip2-compress-lowmem", 0, "@" }, { oTextmodeShort, NULL, 0, "@"}, { oTextmode, "textmode", 0, N_("use canonical text mode")}, { oNoTextmode, "no-textmode", 0, "@"}, @@ -1790,6 +1792,7 @@ main( int argc, char **argv ) break; case oCompressLevel: opt.compress_level = pargs.r.ret_int; break; case oBZ2CompressLevel: opt.bz2_compress_level = pargs.r.ret_int; break; + case oBZ2CompressLowmem: opt.bz2_compress_lowmem=1; break; case oPasswdFD: pwfd = iobuf_translate_file_handle (pargs.r.ret_int, 0); opt.use_agent = 0; -- cgit v1.2.3