]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
liblzma: Improve comment in string_conversion.c.
authorJia Tan <jiat0218@gmail.com>
Tue, 18 Jul 2023 14:49:57 +0000 (22:49 +0800)
committerJia Tan <jiat0218@gmail.com>
Tue, 18 Jul 2023 14:56:47 +0000 (22:56 +0800)
The comment used "flag" when referring to decoder options. Just
referring to them as options is more clear and consistent.

src/liblzma/common/string_conversion.c

index 0d09053f49f8c748d7b3f788880f728143507784..a70105d68d90ad7a561efcb7a9852df9b1f98a4a 100644 (file)
@@ -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;