From 877a50c5995d8570ba1913dfa71182992e62dbd3 Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Tue, 15 Apr 2014 13:59:18 +0400 Subject: commands: loady: fix Y-Modem/G option name in help message Actually loady command uses '-g' option for Y-Modem/G mode selection; see loady() function: while ((opt = getopt(argc, argv, "b:t:g")) > 0) { switch (opt) { ... case 'g': is_ymodemg = 1; break; By mistake help message show '-y' option for Y-Modem/G mode selection. This patch fixes the problem. Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- commands/loadxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/loadxy.c b/commands/loadxy.c index 7a912864e3..93a423c148 100644 --- a/commands/loadxy.c +++ b/commands/loadxy.c @@ -241,7 +241,7 @@ BAREBOX_CMD_END static const __maybe_unused char cmd_loady_help[] = "[OPTIONS]\n" - " -y - use Y-Modem/G (only for lossless tty as USB)\n" + " -g - use Y-Modem/G (only for lossless tty as USB)\n" " -t name - console device name to use - defaults to current console\n" " -b baud - baudrate at which to download - defaults to console baudrate\n"; -- cgit v1.2.3