aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-11-09 11:27:20 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-11-11 13:48:06 +0200
commitaa7fa9d960df4bb21f7727bbf7ce0503f3d211b4 (patch)
treeacebf7231bd5755e413f13ae5ece8aea0e0b3372 /src
parentDocs: Update faq.txt a little. (diff)
downloadxz-aa7fa9d960df4bb21f7727bbf7ce0503f3d211b4.tar.xz
xz: Add a comment why --to-stdout is not in --help.
It is on the man page still.
Diffstat (limited to 'src')
-rw-r--r--src/xz/message.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xz/message.c b/src/xz/message.c
index 91e0de45..da90420f 100644
--- a/src/xz/message.c
+++ b/src/xz/message.c
@@ -1113,6 +1113,9 @@ message_help(bool long_help)
" -k, --keep keep (don't delete) input files\n"
" -f, --force force overwrite of output file and (de)compress links\n"
" -c, --stdout write to standard output and don't delete input files"));
+ // NOTE: --to-stdout isn't included above because it's not
+ // the recommended spelling. It was copied from gzip but other
+ // compressors with gzip-like syntax don't support it.
if (long_help) {
puts(_(