From a050a862a76de1203e59f4c8793affdc5a0d34db Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Fri, 24 Sep 2021 23:06:42 +0200 Subject: tools: kwboot: Print version information header Print kwboot's (U-Boot's) version when printing usage. Signed-off-by: Pali Rohár Reviewed-by: Marek Behún Reviewed-by: Stefan Roese --- tools/kwboot.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/kwboot.c b/tools/kwboot.c index 22cdd137ad5..454339db147 100644 --- a/tools/kwboot.c +++ b/tools/kwboot.c @@ -11,6 +11,7 @@ #include "kwbimage.h" #include "mkimage.h" +#include "version.h" #include #include @@ -681,6 +682,7 @@ out: static void kwboot_usage(FILE *stream, char *progname) { + fprintf(stream, "kwboot version %s\n", PLAIN_VERSION); fprintf(stream, "Usage: %s [OPTIONS] [-b | -D ] [-B ] \n", progname); -- cgit v1.2.3