[PATCH 1/2] scripts/kwboot: document -n option

Sascha Hauer s.hauer at pengutronix.de
Fri Jun 30 04:33:43 PDT 2017


On Fri, Jun 30, 2017 at 11:51:44AM +0200, Uwe Kleine-König wrote:
> This was forgotten in the commit that added support for that option
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> ---
>  scripts/kwboot.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/scripts/kwboot.c b/scripts/kwboot.c
> index 4c6b19aa219e..db177ceb5f2e 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");
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list