mirror of https://git.tukaani.org/xz.git
xz: Make --single-stream imply --keep
Suggested by xx on #tukaani on 2024-04-12.
This commit is contained in:
parent
6f412814a8
commit
35df4c2bc0
|
@ -612,6 +612,9 @@ parse_real(args_info *args, int argc, char **argv)
|
|||
|
||||
case OPT_SINGLE_STREAM:
|
||||
opt_single_stream = true;
|
||||
|
||||
// Since 5.7.1alpha --single-stream implies --keep.
|
||||
opt_keep_original = true;
|
||||
break;
|
||||
|
||||
case OPT_NO_SPARSE:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
.\" Authors: Lasse Collin
|
||||
.\" Jia Tan
|
||||
.\"
|
||||
.TH XZ 1 "2024-12-30" "Tukaani" "XZ Utils"
|
||||
.TH XZ 1 "2025-01-04" "Tukaani" "XZ Utils"
|
||||
.
|
||||
.SH NAME
|
||||
xz, unxz, xzcat, lzma, unlzma, lzcat \- Compress or decompress .xz and .lzma files
|
||||
|
@ -497,6 +497,13 @@ This option has no effect if the operation mode is not
|
|||
.B \-\-decompress
|
||||
or
|
||||
.BR \-\-test .
|
||||
.IP ""
|
||||
Since
|
||||
.B xz
|
||||
5.7.1alpha,
|
||||
.B \-\-single\-stream
|
||||
implies
|
||||
.BR \-\-keep .
|
||||
.TP
|
||||
.B \-\-no\-sparse
|
||||
Disable creation of sparse files.
|
||||
|
|
Loading…
Reference in New Issue