diff options
Diffstat (limited to 'src/xz/args.c')
-rw-r--r-- | src/xz/args.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xz/args.c b/src/xz/args.c index 1a357b24..f207e7f4 100644 --- a/src/xz/args.c +++ b/src/xz/args.c @@ -72,6 +72,7 @@ parse_real(args_info *args, int argc, char **argv) OPT_NO_SPARSE, OPT_FILES, OPT_FILES0, + OPT_BLOCK_SIZE, OPT_MEM_COMPRESS, OPT_MEM_DECOMPRESS, OPT_NO_ADJUST, @@ -105,6 +106,7 @@ parse_real(args_info *args, int argc, char **argv) // Basic compression settings { "format", required_argument, NULL, 'F' }, { "check", required_argument, NULL, 'C' }, + { "block-size", required_argument, NULL, OPT_BLOCK_SIZE }, { "memlimit-compress", required_argument, NULL, OPT_MEM_COMPRESS }, { "memlimit-decompress", required_argument, NULL, OPT_MEM_DECOMPRESS }, { "memlimit", required_argument, NULL, 'M' }, @@ -370,6 +372,11 @@ parse_real(args_info *args, int argc, char **argv) break; } + case OPT_BLOCK_SIZE: + opt_block_size = str_to_uint64("block-size", optarg, + 0, LZMA_VLI_MAX); + break; + case OPT_SINGLE_STREAM: opt_single_stream = true; break; |