aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-11-29 22:27:42 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-11-29 22:27:42 +0200
commita6e21fcede3b196160a52dd294d965c508a4bb33 (patch)
treeff53bd7918711f917a09a081ffb957b6db3b20fe /src
parentxz: Use lzma_str_from_filters(). (diff)
downloadxz-a6e21fcede3b196160a52dd294d965c508a4bb33.tar.xz
liblzma: Two fixes to lzma_str_list_filters() API docs.
Thanks to Jia Tan.
Diffstat (limited to 'src')
-rw-r--r--src/liblzma/api/lzma/filter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/liblzma/api/lzma/filter.h b/src/liblzma/api/lzma/filter.h
index 4f589230..cb8de5d1 100644
--- a/src/liblzma/api/lzma/filter.h
+++ b/src/liblzma/api/lzma/filter.h
@@ -679,8 +679,8 @@ extern LZMA_API(lzma_ret) lzma_str_from_filters(
* filter name. If LZMA_STR_ENCODER or LZMA_STR_DECODER is used then the
* options required for encoding or decoding are listed on the same line too.
*
- * If filter_id is LZMA_VLI_UNKNOWN then all filters that can be used in
- * the .xz format are listed:
+ * If filter_id is LZMA_VLI_UNKNOWN then all supported .xz-compatible filters
+ * are listed:
*
* - If neither LZMA_STR_ENCODER nor LZMA_STR_DECODER is used then
* the supported filter names are listed on a single line separated
@@ -704,7 +704,7 @@ extern LZMA_API(lzma_ret) lzma_str_from_filters(
* Set to NULL to use malloc() and free().
*
* \return - LZMA_OK
- * - LZMA_OPTIONS_ERROR: Unsupported flags
+ * - LZMA_OPTIONS_ERROR: Unsupported filter_id or flags
* - LZMA_MEM_ERROR
* - LZMA_PROG_ERROR
*/