summaryrefslogtreecommitdiffstats
path: root/scripts/kwboot.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2017-06-30 11:51:44 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-06-30 13:33:27 +0200
commitd6fce00c3b5c6a039c1d8515c20f62cead19a762 (patch)
treec055abeca8b1dcbc33b11bdd596153defec6ebfb /scripts/kwboot.c
parentce9942d61d4cfe20eeed75a62d0a626d339a52aa (diff)
downloadbarebox-d6fce00c3b5c6a039c1d8515c20f62cead19a762.tar.gz
barebox-d6fce00c3b5c6a039c1d8515c20f62cead19a762.tar.xz
scripts/kwboot: document -n option
This was forgotten in the commit that added support for that option Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/kwboot.c')
-rw-r--r--scripts/kwboot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/kwboot.c b/scripts/kwboot.c
index 4c6b19aa21..db177ceb5f 100644
--- a/scripts/kwboot.c
+++ b/scripts/kwboot.c
@@ -716,7 +716,7 @@ static void
kwboot_usage(FILE *stream, char *progname)
{
fprintf(stream,
- "Usage: %s [-d | -b <image> | -D <image> ] [ -t ] [-B <baud> ] <TTY>\n",
+ "Usage: %s [-d | -b <image> [ -n <naks> ] | -D <image> ] [ -t ] [-B <baud> ] <TTY>\n",
progname);
fprintf(stream, "\n");
fprintf(stream,
@@ -724,6 +724,8 @@ kwboot_usage(FILE *stream, char *progname)
fprintf(stream,
" -D <image>: boot <image> without preamble (Dove)\n");
fprintf(stream, " -d: enter debug mode\n");
+ fprintf(stream,
+ " -n <naks>: wait for <naks> NAK before uploading image (default: 1)\n");
fprintf(stream, "\n");
fprintf(stream, " -t: mini terminal\n");
fprintf(stream, "\n");