]> granicus.if.org Git - xz/commitdiff
xz: Update the help message of a few options.
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 29 Jun 2014 17:54:14 +0000 (20:54 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Sun, 29 Jun 2014 17:54:14 +0000 (20:54 +0300)
Updated: --threads, --block-size, and --block-list
Added: --flush-timeout

src/xz/message.c

index e94a94d54c757f4b221119eb783ba84f8aa7daf9..c85a2cb35dcbb2d0111914c6cf8ddcf22eee3837 100644 (file)
@@ -1134,19 +1134,23 @@ message_help(bool long_help)
 
        puts(_(
 "  -T, --threads=NUM   use at most NUM threads; the default is 1; set to 0\n"
-"                      to use the number of processor cores"));
+"                      to use as many threads as there are processor cores"));
 
        if (long_help) {
-               // FIXME? Mention something about threading?
                puts(_(
 "      --block-size=SIZE\n"
-"                      when compressing to the .xz format, start a new block\n"
-"                      after every SIZE bytes of input; 0=disabled (default)"));
-               // FIXME
+"                      start a new .xz block after every SIZE bytes of input;\n"
+"                      use this to set the block size for threaded compression"));
                puts(_(
 "      --block-list=SIZES\n"
-"                      when compressing to the .xz format, start a new block\n"
-"                      after the given intervals of uncompressed data"));
+"                      start a new .xz block after the given comma-separated\n"
+"                      intervals of uncompressed data"));
+               puts(_(
+"      --flush-timeout=TIMEOUT\n"
+"                      when compressing, if more than TIMEOUT milliseconds has\n"
+"                      passed since the previous flush and reading more input\n"
+"                      would block, all pending data is flushed out"
+               ));
                puts(_( // xgettext:no-c-format
 "      --memlimit-compress=LIMIT\n"
 "      --memlimit-decompress=LIMIT\n"