From aa7fa9d960df4bb21f7727bbf7ce0503f3d211b4 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Wed, 9 Nov 2022 11:27:20 +0200 Subject: [PATCH] xz: Add a comment why --to-stdout is not in --help. It is on the man page still. --- src/xz/message.c | 3 +++ 1 file changed, 3 insertions(+) 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(_(