mirror of
https://github.com/containerd/containerd.git
synced 2026-08-13 17:07:26 +00:00
All other binaries have a `-v` and/or `--version` flag, which can be
useful to perform a quick check if the binary is "functional".
Before this:
containerd-stress --version | tail -n1
flag provided but not defined: -version
--help, -h Show help
After this:
containerd-stress --version | tail -n1
containerd-stress github.com/containerd/containerd/v2 v2.2.0-306-g2e46d7659.m
containerd-stress --help | tail -n1
--version, -v Print the version
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>