1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

xzdec: Improve the --help message.

The options are now ordered in the same order as in xz's help
message.

Descriptions were added to the options that are ignored.
I left them in parenthesis even if it looks a bit weird
because I find it easier to spot the ignored vs. non-ignored
options from the list that way.
This commit is contained in:
Lasse Collin 2013-04-15 19:29:09 +03:00
parent ed886e1a92
commit 8957c58609

View file

@ -62,13 +62,13 @@ help(void)
{ {
printf( printf(
"Usage: %s [OPTION]... [FILE]...\n" "Usage: %s [OPTION]... [FILE]...\n"
"Uncompress files in the ." TOOL_FORMAT " format to the standard output.\n" "Decompress files in the ." TOOL_FORMAT " format to standard output.\n"
"\n" "\n"
" -c, --stdout (ignored)\n" " -d, --decompress (ignored, only decompression is supported)\n"
" -d, --decompress (ignored)\n" " -k, --keep (ignored, files are never deleted)\n"
" -k, --keep (ignored)\n" " -c, --stdout (ignored, output is always written to standard output)\n"
" -q, --quiet specify *twice* to suppress errors\n" " -q, --quiet specify *twice* to suppress errors\n"
" -Q, --no-warn (ignored)\n" " -Q, --no-warn (ignored, the exit status 2 is never used)\n"
" -h, --help display this help and exit\n" " -h, --help display this help and exit\n"
" -V, --version display the version number and exit\n" " -V, --version display the version number and exit\n"
"\n" "\n"