Tidy up --version and --help handling
Before raising this MR, consider whether the following are required, and complete if so:
-
Unit tests -
Documentation update(s)
Description
- Introduce
BUILDBOX_VERSION
CMake option to override "get version from git" default - Add
--version
to all tools - Move
--version
and--help
processing to buildbox-common - Fix inconsistencies in
--version
processing, like casd requiring a positional argument to display a version
Validation
Check that --help
and --version
work fine
Issues addressed
Closes #170 (closed) Closes #107 (closed)
Related to #92 (closed)
Edited by Misha Gusarov