Indeed, a package manager can normally report this if used.
However, I have added a -v flag to master as it is pretty standard to
have. It is only useful for comparing released versions as there is no
commit information at the current time, just the version number (still