mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
tools: kwboot: Print version information header
Print kwboot's (U-Boot's) version when printing usage. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
e453bb42ce
commit
a050a862a7
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include "kwbimage.h"
|
||||
#include "mkimage.h"
|
||||
#include "version.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
@ -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 <image> | -D <image> ] [-B <baud> ] <TTY>\n",
|
||||
progname);
|
||||
|
|
Loading…
Reference in a new issue