This PR adds a --version CLI flags that shows the version and build time embedded in the binary via ldflags.
It also deprecates the --enable-timestamp: it's still usable, but no longer advertised in the help message, and using it will issue a warning message on startup.
Furthermore, invoking the --help flag will no longer exit with a non-0 code.
This PR adds a
--version
CLI flags that shows the version and build time embedded in the binary via ldflags.It also deprecates the
--enable-timestamp
: it's still usable, but no longer advertised in the help message, and using it will issue a warning message on startup.Furthermore, invoking the
--help
flag will no longer exit with a non-0 code.