show version/build number for binary/script

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

show version/build number for binary/script

marc marc
Le 16. 09. 17 à 19:32, mmd a écrit :
 > check if you're really running the latest patch

https://github.com/drolbr/Overpass-API/issues/434

it would be useful to have, for every binary/script
a --version
and
a log line like "dispatcher v0.74.9 starting" as the first line
when a binary/script start
and
the SCCS id string in the binary used by "what" tools (it is
a string starting with "@(#)" following with the version number)

I can make a PR for script if it help.

Regards,
Marc