xz: Update the help message of a few options.

Updated: --threads, --block-size, and --block-list
Added: --flush-timeout
This commit is contained in:
Lasse Collin 2014-06-29 20:54:14 +03:00
parent 96864a6ddf
commit 17215f751c
1 changed files with 11 additions and 7 deletions

View File

@ -1134,19 +1134,23 @@ message_help(bool long_help)
puts(_( puts(_(
" -T, --threads=NUM use at most NUM threads; the default is 1; set to 0\n" " -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) { if (long_help) {
// FIXME? Mention something about threading?
puts(_( puts(_(
" --block-size=SIZE\n" " --block-size=SIZE\n"
" when compressing to the .xz format, start a new block\n" " start a new .xz block after every SIZE bytes of input;\n"
" after every SIZE bytes of input; 0=disabled (default)")); " use this to set the block size for threaded compression"));
// FIXME
puts(_( puts(_(
" --block-list=SIZES\n" " --block-list=SIZES\n"
" when compressing to the .xz format, start a new block\n" " start a new .xz block after the given comma-separated\n"
" after the given intervals of uncompressed data")); " 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 puts(_( // xgettext:no-c-format
" --memlimit-compress=LIMIT\n" " --memlimit-compress=LIMIT\n"
" --memlimit-decompress=LIMIT\n" " --memlimit-decompress=LIMIT\n"