aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-07-18 22:49:57 +0800
committerJia Tan <jiat0218@gmail.com>2023-07-18 22:56:47 +0800
commit818701ba1c9dff780b7fbf28f9ab8eb11a25dd67 (patch)
treeaaf27228013ed372c45e08a8bfc769ff33de2e36
parentxz: Translate the second "%s: " in message.c since French needs "%s : ". (diff)
downloadxz-818701ba1c9dff780b7fbf28f9ab8eb11a25dd67.tar.xz
liblzma: Improve comment in string_conversion.c.
The comment used "flag" when referring to decoder options. Just referring to them as options is more clear and consistent.
Diffstat (limited to '')
-rw-r--r--src/liblzma/common/string_conversion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/common/string_conversion.c b/src/liblzma/common/string_conversion.c
index 0d09053f..a70105d6 100644
--- a/src/liblzma/common/string_conversion.c
+++ b/src/liblzma/common/string_conversion.c
@@ -466,9 +466,9 @@ static const struct {
/// If the flag LZMA_STR_ENCODER is used then the first
/// strfy_encoder elements of optmap are stringified.
/// With LZMA_STR_DECODER strfy_decoder is used.
- /// Currently encoders use all flags that decoders do but if
+ /// Currently encoders use all options that decoders do but if
/// that changes then this needs to be changed too, for example,
- /// add a new OPTMAP flag to skip printing some decoder-only flags.
+ /// add a new OPTMAP flag to skip printing some decoder-only options.
const option_map *optmap;
uint8_t strfy_encoder;
uint8_t strfy_decoder;