From: Kevin Smith <kevin.smith@elecsyscorp.com> Date: Tue, 16 Feb 2016 21:28:17 +0000 (+0000) Subject: tools: kwboot: Clean up usage text X-Git-Tag: v2025.01-rc5-pxa1908~9816^2~1 X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=8669dacfb889fa6ffb62b5b3b6a803c65f54bf7f;p=u-boot.git 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> --- 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,