]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
xz: Add -r,--recursive to --help and --long-help.
authorJia Tan <jiat0218@gmail.com>
Wed, 1 Nov 2023 07:20:25 +0000 (15:20 +0800)
committerJia Tan <jiat0218@gmail.com>
Mon, 29 Jan 2024 13:40:53 +0000 (21:40 +0800)
src/xz/message.c

index 0aabbadf76cf79f03a11c55709254fcd95acbbdd..c16d104f03d37d29f7e86fc442506471b460993f 100644 (file)
@@ -1017,12 +1017,18 @@ message_help(bool long_help)
 "                      ignore possible remaining input data"));
                puts(_(
 "      --no-sparse     do not create sparse files when decompressing\n"
-"  -S, --suffix=.SUF   use the suffix '.SUF' on compressed files\n"
+"  -S, --suffix=.SUF   use the suffix '.SUF' on compressed files"));
+       }
+
+       puts(_(
+"  -r, --recursive     operate recursively on directories"));
+
+       if (long_help)
+               puts(_(
 "      --files[=FILE]  read filenames to process from FILE; if FILE is\n"
 "                      omitted, filenames are read from the standard input;\n"
 "                      filenames must be terminated with the newline character\n"
 "      --files0[=FILE] like --files but use the null character as terminator"));
-       }
 
        if (long_help) {
                puts(_("\n Basic file format and compression options:\n"));