aboutsummaryrefslogtreecommitdiff
path: root/src/xzdec/xzdec.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2013-04-15 19:29:09 +0300
committerLasse Collin <lasse.collin@tukaani.org>2013-06-26 10:53:57 +0300
commitefb07cfba65e9e05984c02cd796c1b0338ce04dc (patch)
tree2ba800d98dba95c3ccb09e20023481d523b6ad34 /src/xzdec/xzdec.c
parentUpdate THANKS. (diff)
downloadxz-efb07cfba65e9e05984c02cd796c1b0338ce04dc.tar.xz
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.
Diffstat (limited to '')
-rw-r--r--src/xzdec/xzdec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xzdec/xzdec.c b/src/xzdec/xzdec.c
index b7830db4..5cb7530a 100644
--- a/src/xzdec/xzdec.c
+++ b/src/xzdec/xzdec.c
@@ -62,13 +62,13 @@ help(void)
{
printf(
"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"
-" -c, --stdout (ignored)\n"
-" -d, --decompress (ignored)\n"
-" -k, --keep (ignored)\n"
+" -d, --decompress (ignored, only decompression is supported)\n"
+" -k, --keep (ignored, files are never deleted)\n"
+" -c, --stdout (ignored, output is always written to standard output)\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"
" -V, --version display the version number and exit\n"
"\n"