On 5/25/20 5:49 AM, listclient@hayo.de wrote:
From the perspective of the zdump user, the current situation is not that good. I think all distributions should return similar output. And the output should contain the tzdata version.
That's not what the --version flag is for. --version is supposed to output the version number of the program, not of any data. This is the common meaning of "--version" across a wide variety of programs. Many distributions update tzcode (the source code for zdump) more rarely than tzdata, and it's helpful to keep the two version numbers distinct in that case. zdump is intended to be portable to any system that conforms to POSIX, and since there's no POSIX-portable way to find out the tzdata version, zdump doesn't do that. There might not be any tzdata at all, and zdump is still supposed to work. Though perhaps this zdump design goal should change at some point....