diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2014-04-15 13:59:18 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-04-23 11:19:51 +0200 |
commit | 877a50c5995d8570ba1913dfa71182992e62dbd3 (patch) | |
tree | c6d8d6a8772eb50adb8a3356cefcfa8b556faf59 /commands/loadxy.c | |
parent | 7311cc9bd2719e19bac9b4981d7e34b18b2bc9a9 (diff) | |
download | barebox-877a50c5995d8570ba1913dfa71182992e62dbd3.tar.gz barebox-877a50c5995d8570ba1913dfa71182992e62dbd3.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |