1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

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.
This commit is contained in:
Jia Tan 2023-07-18 22:49:57 +08:00
parent b6b7d06585
commit 818701ba1c

View file

@ -466,9 +466,9 @@ static const struct {
/// If the flag LZMA_STR_ENCODER is used then the first /// If the flag LZMA_STR_ENCODER is used then the first
/// strfy_encoder elements of optmap are stringified. /// strfy_encoder elements of optmap are stringified.
/// With LZMA_STR_DECODER strfy_decoder is used. /// 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, /// 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; const option_map *optmap;
uint8_t strfy_encoder; uint8_t strfy_encoder;
uint8_t strfy_decoder; uint8_t strfy_decoder;