From: Eric Biggers Date: Tue, 24 Dec 2013 01:38:46 +0000 (-0600) Subject: wimoptimize: Add --no-pack-streams option X-Git-Tag: v1.6.0~120 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=5eaadbe09039fd336b265423682a6ce322c45c6e;ds=sidebyside wimoptimize: Add --no-pack-streams option --- diff --git a/programs/imagex.c b/programs/imagex.c index b9fd2d79..a9e6fa63 100644 --- a/programs/imagex.c +++ b/programs/imagex.c @@ -293,6 +293,7 @@ static const struct option optimize_options[] = { {T("recompress-slow"), no_argument, NULL, IMAGEX_COMPRESS_SLOW_OPTION}, {T("chunk-size"), required_argument, NULL, IMAGEX_CHUNK_SIZE_OPTION}, {T("pack-streams"),no_argument, NULL, IMAGEX_PACK_STREAMS_OPTION}, + {T("no-pack-streams"), no_argument, NULL, IMAGEX_NO_PACK_STREAMS_OPTION}, {T("threads"), required_argument, NULL, IMAGEX_THREADS_OPTION}, {T("pipable"), no_argument, NULL, IMAGEX_PIPABLE_OPTION}, {T("not-pipable"), no_argument, NULL, IMAGEX_NOT_PIPABLE_OPTION}, @@ -3325,6 +3326,9 @@ imagex_optimize(int argc, tchar **argv, int cmd) write_flags |= WIMLIB_WRITE_FLAG_PACK_STREAMS; write_flags |= WIMLIB_WRITE_FLAG_RECOMPRESS; break; + case IMAGEX_NO_PACK_STREAMS_OPTION: + write_flags |= WIMLIB_WRITE_FLAG_NO_PACK_STREAMS; + break; case IMAGEX_THREADS_OPTION: num_threads = parse_num_threads(optarg); if (num_threads == UINT_MAX)