From ab23d0bb3f66cfb7a97a8aa6b8007687ed7a6925 Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Tue, 13 May 2014 16:14:05 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- commands/lsmod.c | 1 + 1 file changed, 1 insertion(+) (limited to 'commands/lsmod.c') diff --git a/commands/lsmod.c b/commands/lsmod.c index e54eadc2ff..751ecfee81 100644 --- a/commands/lsmod.c +++ b/commands/lsmod.c @@ -16,5 +16,6 @@ static int do_lsmod(int argc, char *argv[]) BAREBOX_CMD_START(lsmod) .cmd = do_lsmod, .usage = "list modules", + BAREBOX_CMD_GROUP(CMD_GRP_MISC) BAREBOX_CMD_COMPLETE(empty_complete) BAREBOX_CMD_END -- cgit v1.2.3