binman: Add a way to obtain the version
authorSimon Glass <sjg@chromium.org>
Tue, 23 Nov 2021 18:03:42 +0000 (11:03 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 2 Dec 2021 16:16:30 +0000 (09:16 -0700)
commitc475decf59a6460bbd706199d8157f2fd2c4f4fc
tree144b0e99f9493e18c23a081397b624812af6e6db
parent650e5de7d407a3a9d2a9cc693eb8b1290a768d65
binman: Add a way to obtain the version

Add a -V option which shows the version number of binman. For now this
just uses a local 'version' file. Once the tool is packaged in some way
we can figure out an approach that suits.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/cmdline.py
tools/binman/ftest.py
tools/binman/state.py