From: Pali Rohár Date: Fri, 24 Sep 2021 21:06:42 +0000 (+0200) Subject: tools: kwboot: Print version information header X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=a050a862a76de1203e59f4c8793affdc5a0d34db;p=u-boot.git 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 --- diff --git a/tools/kwboot.c b/tools/kwboot.c index 22cdd137ad..454339db14 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);