From 8669dacfb889fa6ffb62b5b3b6a803c65f54bf7f Mon Sep 17 00:00:00 2001 From: Kevin Smith <kevin.smith@elecsyscorp.com> Date: Tue, 16 Feb 2016 21:28:17 +0000 Subject: [PATCH] tools: kwboot: Clean up usage text Usage text was getting unwieldy and somewhat incorrect. The usage summary implied that some options were mutually exclusive (e.g. -q or -s). Clean up the summary to just include the important ones, and include a generic "[OPTIONS]" instead. Signed-off-by: Kevin Smith <kevin.smith@elecsyscorp.com> Cc: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de> --- tools/kwboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kwboot.c b/tools/kwboot.c index 905ade3b01..dee86cf650 100644 --- a/tools/kwboot.c +++ b/tools/kwboot.c @@ -684,7 +684,7 @@ static void kwboot_usage(FILE *stream, char *progname) { fprintf(stream, - "Usage: %s [-d | -a | -q <req-delay> | -s <resp-timeo> | -b <image> | -D <image> ] [ -t ] [-B <baud> ] <TTY>\n", + "Usage: %s [OPTIONS] [-b <image> | -D <image> ] [-B <baud> ] <TTY>\n", progname); fprintf(stream, "\n"); fprintf(stream, -- 2.39.5