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>
1 parent 7311cc9 commit 877a50c5995d8570ba1913dfa71182992e62dbd3
@Antony Pavlov Antony Pavlov authored on 15 Apr 2014
Sascha Hauer committed on 23 Apr 2014
Showing 1 changed file
View
commands/loadxy.c