summaryrefslogtreecommitdiffstats
path: root/commands/loadxy.c
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2014-04-15 13:59:18 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-04-23 11:19:51 +0200
commit877a50c5995d8570ba1913dfa71182992e62dbd3 (patch)
treec6d8d6a8772eb50adb8a3356cefcfa8b556faf59 /commands/loadxy.c
parent7311cc9bd2719e19bac9b4981d7e34b18b2bc9a9 (diff)
downloadbarebox-877a50c5995d8570ba1913dfa71182992e62dbd3.tar.gz
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 <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/loadxy.c')
-rw-r--r--commands/loadxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/loadxy.c b/commands/loadxy.c
index 7a91286..93a423c 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";