From c3080fdafff5212f267ba7c765a2f083435be799 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 18 Feb 2011 09:51:37 -0800 Subject: [PATCH 1/1] ao-load: fix usage message to note that '=' is required for options The usage message was suggesting incorrect command line syntax; long options use '=' between the option name and value, not whitespace. Signed-off-by: Keith Packard --- ao-tools/ao-load/ao-load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ao-tools/ao-load/ao-load.c b/ao-tools/ao-load/ao-load.c index 4aa91b29..5accefc8 100644 --- a/ao-tools/ao-load/ao-load.c +++ b/ao-tools/ao-load/ao-load.c @@ -102,7 +102,7 @@ static const struct option options[] = { static void usage(char *program) { - fprintf(stderr, "usage: %s [--tty ] [--device ] [--cal ] file.ihx serial-number\n", program); + fprintf(stderr, "usage: %s [--tty=] [--device=] [--cal=] file.ihx serial-number\n", program); exit(1); } -- 2.30.2