mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] at91mux: Fix both help info and Kconfig info.
@ 2014-07-06 18:43 Robert P. J. Day
  2014-07-07  8:02 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2014-07-06 18:43 UTC (permalink / raw)
  To: U-Boot Version 2 (barebox)


Correct options are, in fact, -p and -b.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

diff --git a/arch/arm/mach-at91/gpio.c b/arch/arm/mach-at91/gpio.c
index 292e197..4f2c76e 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 c98dbc5..15b1f08 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.

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-07  8:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-06 18:43 [PATCH] at91mux: Fix both help info and Kconfig info Robert P. J. Day
2014-07-07  8:02 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox