aboutsummaryrefslogtreecommitdiff
path: root/src/xz/message.h
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-05-13 00:44:41 +0800
committerJia Tan <jiat0218@gmail.com>2023-07-17 23:34:55 +0800
commita165d7df1964121eb9df715e6f836a31c865beef (patch)
tree54847aab6aa87d0c1fc9e6b128b759ebe528b019 /src/xz/message.h
parentxz: Update the man page for --block-list and --filtersX (diff)
downloadxz-a165d7df1964121eb9df715e6f836a31c865beef.tar.xz
xz: Add a new --filters-help option.
The --filters-help can be used to help create filter chains with the --filters and --filtersX options. The message in --long-help is too short to fully explain the syntax to construct complex filter chains. In --robot mode, xz will only print the output from liblzma function lzma_str_list_filters.
Diffstat (limited to 'src/xz/message.h')
-rw-r--r--src/xz/message.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xz/message.h b/src/xz/message.h
index b264f821..21771eb4 100644
--- a/src/xz/message.h
+++ b/src/xz/message.h
@@ -107,6 +107,11 @@ extern void message_version(void) lzma_attribute((__noreturn__));
extern void message_help(bool long_help) lzma_attribute((__noreturn__));
+/// Prints a help message specifically for using the --filters and
+/// --filtersX command line options.
+extern void message_filters_help(void);
+
+
/// \brief Set the total number of files to be processed
///
/// Standard input is counted as a file here. This is used when printing