Blame SOURCES/xz-5.1.2alpha-man-page-day.patch

44c1f8
diff --git a/src/xz/message.c b/src/xz/message.c
44c1f8
index abbd171..ce953ac 100644
44c1f8
--- a/src/xz/message.c
44c1f8
+++ b/src/xz/message.c
44c1f8
@@ -1110,7 +1110,8 @@ message_help(bool long_help)
44c1f8
 
44c1f8
 	puts(_(
44c1f8
 "  -z, --compress      force compression\n"
44c1f8
-"  -d, --decompress    force decompression\n"
44c1f8
+"  -d, --decompress, --uncompress\n"
44c1f8
+"                      force decompression\n"
44c1f8
 "  -t, --test          test compressed file integrity\n"
44c1f8
 "  -l, --list          list information about .xz files"));
44c1f8
 
44c1f8
@@ -1120,7 +1121,8 @@ message_help(bool long_help)
44c1f8
 	puts(_(
44c1f8
 "  -k, --keep          keep (don't delete) input files\n"
44c1f8
 "  -f, --force         force overwrite of output file and (de)compress links\n"
44c1f8
-"  -c, --stdout        write to standard output and don't delete input files"));
44c1f8
+"  -c, --stdout, --to-stdout\n"
44c1f8
+"                      write to standard output and don't delete input files"));
44c1f8
 
44c1f8
 	if (long_help) {
44c1f8
 		puts(_(
44c1f8
@@ -1152,6 +1154,10 @@ message_help(bool long_help)
44c1f8
 "  -e, --extreme       try to improve compression ratio by using more CPU time;\n"
44c1f8
 "                      does not affect decompressor memory requirements"));
44c1f8
 
44c1f8
+	puts(_(
44c1f8
+"  -T, --threads=NUM   use at most NUM threads; the default is 1; set to 0\n"
44c1f8
+"                      to use the number of processor cores"));
44c1f8
+
44c1f8
 	if (long_help) {
44c1f8
 		// FIXME? Mention something about threading?
44c1f8
 		puts(_(
44c1f8
@@ -1166,7 +1172,7 @@ message_help(bool long_help)
44c1f8
 		puts(_( // xgettext:no-c-format
44c1f8
 "      --memlimit-compress=LIMIT\n"
44c1f8
 "      --memlimit-decompress=LIMIT\n"
44c1f8
-"  -M, --memlimit=LIMIT\n"
44c1f8
+"  -M, --memlimit=LIMIT, (old alias --memory=LIMIT)\n"
44c1f8
 "                      set memory usage limit for compression, decompression,\n"
44c1f8
 "                      or both; LIMIT is in bytes, % of RAM, or 0 for defaults"));
44c1f8
 
44c1f8
diff --git a/src/xz/xz.1 b/src/xz/xz.1
44c1f8
index 0368f05..e5da140 100644
44c1f8
--- a/src/xz/xz.1
44c1f8
+++ b/src/xz/xz.1
44c1f8
@@ -912,7 +912,7 @@ See
44c1f8
 for possible ways to specify the
44c1f8
 .IR limit .
44c1f8
 .TP
44c1f8
-\fB\-M\fR \fIlimit\fR, \fB\-\-memlimit=\fIlimit\fR, \fB\-\-memory=\fIlimit
44c1f8
+\fB\-M\fR \fIlimit\fR, \fB\-\-memlimit=\fIlimit\fR, (old alias \fB\-\-memory=\fIlimit\fR)
44c1f8
 This is equivalent to specifying \fB\-\-memlimit\-compress=\fIlimit
44c1f8
 \fB\-\-memlimit\-decompress=\fIlimit\fR.
44c1f8
 .TP
44c1f8
diff --git a/src/xzdec/xzdec.c b/src/xzdec/xzdec.c
44c1f8
index b7830db..48ac1fe 100644
44c1f8
--- a/src/xzdec/xzdec.c
44c1f8
+++ b/src/xzdec/xzdec.c
44c1f8
@@ -64,13 +64,15 @@ help(void)
44c1f8
 "Usage: %s [OPTION]... [FILE]...\n"
44c1f8
 "Uncompress files in the ." TOOL_FORMAT " format to the standard output.\n"
44c1f8
 "\n"
44c1f8
-"  -c, --stdout       (ignored)\n"
44c1f8
-"  -d, --decompress   (ignored)\n"
44c1f8
-"  -k, --keep         (ignored)\n"
44c1f8
 "  -q, --quiet        specify *twice* to suppress errors\n"
44c1f8
-"  -Q, --no-warn      (ignored)\n"
44c1f8
 "  -h, --help         display this help and exit\n"
44c1f8
 "  -V, --version      display the version number and exit\n"
44c1f8
+"  -c, --stdout, --to-stdout\n"
44c1f8
+"                     ignored, data are always written to standard output\n"
44c1f8
+"  -d, --decompress, --uncompress\n"
44c1f8
+"                     ignored, only decompression is supported\n"
44c1f8
+"  -k, --keep         ignored, we never create/remove any files\n"
44c1f8
+"  -Q, --no-warn      ignored, we never use exit status 2\n"
44c1f8
 "\n"
44c1f8
 "With no FILE, or when FILE is -, read standard input.\n"
44c1f8
 "\n"