diff options
author | Keith Packard <keithp@keithp.com> | 2011-02-18 09:51:37 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-02-18 10:04:40 -0800 |
commit | c3080fdafff5212f267ba7c765a2f083435be799 (patch) | |
tree | 8223e2de0a19fb8a2bde918ef4c1728ec8c45442 | |
parent | a09501ab714c0638410d06f80903a8769d93c688 (diff) |
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 <keithp@keithp.com>
-rw-r--r-- | ao-tools/ao-load/ao-load.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <tty-name>] [--device <device-name>] [--cal <radio-cal>] file.ihx serial-number\n", program); + fprintf(stderr, "usage: %s [--tty=<tty-name>] [--device=<device-name>] [--cal=<radio-cal>] file.ihx serial-number\n", program); exit(1); } |