]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
xz: Add a comment why --to-stdout is not in --help.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 9 Nov 2022 09:27:20 +0000 (11:27 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 11 Nov 2022 11:48:06 +0000 (13:48 +0200)
It is on the man page still.

src/xz/message.c

index 91e0de4536b3f3b992146f59c248954ac54b80f8..da90420fb897efee9e7b727a69c6ec8a5ac6885a 100644 (file)
@@ -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(_(