diff options
Diffstat (limited to 'src/xz')
-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 31c071ce..e8b07af3 100644 --- a/src/xz/args.c +++ b/src/xz/args.c @@ -190,6 +190,7 @@ parse_real(args_info *args, int argc, char **argv) OPT_ARMTHUMB, OPT_ARM64, OPT_SPARC, + OPT_RISCV, OPT_DELTA, OPT_LZMA1, OPT_LZMA2, @@ -274,6 +275,7 @@ parse_real(args_info *args, int argc, char **argv) { "armthumb", optional_argument, NULL, OPT_ARMTHUMB }, { "arm64", optional_argument, NULL, OPT_ARM64 }, { "sparc", optional_argument, NULL, OPT_SPARC }, + { "riscv", optional_argument, NULL, OPT_RISCV }, { "delta", optional_argument, NULL, OPT_DELTA }, // Other options @@ -491,6 +493,11 @@ parse_real(args_info *args, int argc, char **argv) options_bcj(optarg)); break; + case OPT_RISCV: + coder_add_filter(LZMA_FILTER_RISCV, + options_bcj(optarg)); + break; + case OPT_DELTA: coder_add_filter(LZMA_FILTER_DELTA, options_delta(optarg)); |