aboutsummaryrefslogtreecommitdiff
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-09 11:27:20 +0200
commit69265d0f223ddf1d66f799b8b047df22923e376f (patch)
treefafe574465c3bc6af8ff88bffa6b6718f416f63f
parentxz: Make xz -lvv show that the upcoming --arm64 needs 5.4.0 to decompress. (diff)
downloadxz-69265d0f223ddf1d66f799b8b047df22923e376f.tar.xz
xz: Add a comment why --to-stdout is not in --help.
It is on the man page still.
-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 be120caf..651a890f 100644
--- a/src/xz/message.c
+++ b/src/xz/message.c
@@ -1129,6 +1129,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(_(