diff options
author | Holger Schurig <holgerschurig@gmail.com> | 2014-05-13 16:14:05 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-05-14 07:59:55 +0200 |
commit | ab23d0bb3f66cfb7a97a8aa6b8007687ed7a6925 (patch) | |
tree | 5163ba7d9ce1fc0ddd144a1de59b7db1192911f6 /arch/arm/mach-at91 | |
parent | 5a4d617a1c5bd7be7b28ead716589c3f488367c0 (diff) | |
download | barebox-ab23d0bb3f66cfb7a97a8aa6b8007687ed7a6925.tar.gz barebox-ab23d0bb3f66cfb7a97a8aa6b8007687ed7a6925.tar.xz |
commands: group 'help' output
The old output of "help" was just producing a long list, that usually
scrolled of the screen (even on a X11 terminal). This list is more
compact, and also sorted by groups.
The old output format (plus grouping) is now available with 'help -v'.
Example:
Information commands:
?, devinfo, help, iomem, meminfo, version
Boot commands:
boot, bootm, go, loadb, loads, loadx, loady, saves, uimage
...
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/boot_test_cmd.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/clock.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/gpio.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/boot_test_cmd.c b/arch/arm/mach-at91/boot_test_cmd.c index aa5c020469..5f806665ae 100644 --- a/arch/arm/mach-at91/boot_test_cmd.c +++ b/arch/arm/mach-at91/boot_test_cmd.c @@ -91,5 +91,6 @@ BAREBOX_CMD_HELP_END BAREBOX_CMD_START(at91_boot_test) .cmd = do_at91_boot_test, .usage = "upload the binary to sram and jump as will do the romcode", + BAREBOX_CMD_GROUP(CMD_GRP_BOOT) BAREBOX_CMD_HELP(cmd_at91_boot_test_help) BAREBOX_CMD_END diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c index a10d7f6407..c4fc698bc1 100644 --- a/arch/arm/mach-at91/clock.c +++ b/arch/arm/mach-at91/clock.c @@ -889,6 +889,7 @@ BAREBOX_CMD_HELP_END BAREBOX_CMD_START(at91clk) .cmd = do_at91clk, .usage = "dump current clock configuration", + BAREBOX_CMD_GROUP(CMD_GRP_INFO) BAREBOX_CMD_HELP(cmd_at91clk_help) BAREBOX_CMD_COMPLETE(empty_complete) BAREBOX_CMD_END diff --git a/arch/arm/mach-at91/gpio.c b/arch/arm/mach-at91/gpio.c index 91de85d989..c175cfd2cb 100644 --- a/arch/arm/mach-at91/gpio.c +++ b/arch/arm/mach-at91/gpio.c @@ -516,6 +516,7 @@ BAREBOX_CMD_HELP_END BAREBOX_CMD_START(at91mux) .cmd = do_at91mux, .usage = "dump current mux configuration", + BAREBOX_CMD_GROUP(CMD_GRP_INFO) BAREBOX_CMD_HELP(cmd_at91mux_help) BAREBOX_CMD_COMPLETE(empty_complete) BAREBOX_CMD_END |