]> Git Repo - J-u-boot.git/commitdiff
tools: kwboot: Clean up usage text
authorKevin Smith <[email protected]>
Tue, 16 Feb 2016 21:28:17 +0000 (21:28 +0000)
committerStefan Roese <[email protected]>
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 <[email protected]>
Cc: Stefan Roese <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
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,
This page took 0.03612 seconds and 4 git commands to generate.