From 600d312707130b201c1c947a0837da1ab3ae33fa Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Sun, 6 Jul 2014 14:43:51 -0400 Subject: [PATCH] at91mux: Fix both help info and Kconfig info. Correct options are, in fact, -p and -b. Signed-off-by: Robert P. J. Day Signed-off-by: Sascha Hauer --- arch/arm/mach-at91/gpio.c | 4 ++-- commands/Kconfig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-at91/gpio.c b/arch/arm/mach-at91/gpio.c index 292e1975e..4f2c76e3d 100644 --- a/arch/arm/mach-at91/gpio.c +++ b/arch/arm/mach-at91/gpio.c @@ -509,7 +509,7 @@ static int do_at91mux(int argc, char *argv[]) } BAREBOX_CMD_HELP_START(at91mux) -BAREBOX_CMD_HELP_TEXT("Dump current MIX configuration. If a BANK or PIN has been") +BAREBOX_CMD_HELP_TEXT("Dump current MUX configuration. If a BANK or PIN has been") BAREBOX_CMD_HELP_TEXT("specified dump pin details.") BAREBOX_CMD_HELP_TEXT("") BAREBOX_CMD_HELP_TEXT("Options:") @@ -520,7 +520,7 @@ BAREBOX_CMD_HELP_END BAREBOX_CMD_START(at91mux) .cmd = do_at91mux, BAREBOX_CMD_DESC("list MUX configuration") - BAREBOX_CMD_OPTS("[-pn]") + BAREBOX_CMD_OPTS("[-pb]") BAREBOX_CMD_GROUP(CMD_GRP_INFO) BAREBOX_CMD_HELP(cmd_at91mux_help) BAREBOX_CMD_COMPLETE(empty_complete) diff --git a/commands/Kconfig b/commands/Kconfig index 392ac494b..61816f511 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -44,7 +44,7 @@ config CMD_AT91MUX help List MUX configuration - Usage: at91mux [-pn] + Usage: at91mux [-pb] Dump current MUX configuration. If a BANK or PIN has been specified dump pin details.