From e32361ee8025bf09465129b257243edb0d82571c Mon Sep 17 00:00:00 2001 From: Dave Vasilevsky Date: Sat, 22 Dec 2012 19:32:20 -0500 Subject: [PATCH] Allow "extreme" compression --- pixz.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pixz.c b/pixz.c index 186f666..50ec462 100644 --- a/pixz.c +++ b/pixz.c @@ -60,7 +60,7 @@ int main(int argc, char **argv) { char *optend; long optint; double optdbl; - while ((ch = getopt(argc, argv, "dxli:o:tvhp:0123456789f:q:")) != -1) { + while ((ch = getopt(argc, argv, "dxli:o:tvhp:0123456789f:q:e")) != -1) { switch (ch) { case 'd': op = OP_READ; break; case 'x': op = OP_EXTRACT; break; @@ -69,6 +69,7 @@ int main(int argc, char **argv) { case 'o': opath = optarg; break; case 't': tar = false; break; case 'h': usage(NULL); break; + case 'e': level |= LZMA_PRESET_EXTREME; break; case 'f': optdbl = strtod(optarg, &optend); if (*optend || optdbl <= 0)