tools: kwboot: Clean up usage text
authorKevin Smith <kevin.smith@elecsyscorp.com>
Tue, 16 Feb 2016 21:28:17 +0000 (21:28 +0000)
committerStefan Roese <sr@denx.de>
Thu, 24 Mar 2016 09:08:38 +0000 (10:08 +0100)
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

index 905ade3b01236d11e4727e32a354c9d866ca618a..dee86cf650b366343b40c90b686ed85caf6d92be 100644 (file)
@@ -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,