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/passwd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'commands/passwd.c') diff --git a/commands/passwd.c b/commands/passwd.c index 368c4016b9..47f7dab6bb 100644 --- a/commands/passwd.c +++ b/commands/passwd.c @@ -92,6 +92,7 @@ static const __maybe_unused char cmd_passwd_help[] = BAREBOX_CMD_START(passwd) .cmd = do_passwd, .usage = "passwd", + BAREBOX_CMD_GROUP(CMD_GRP_MISC) BAREBOX_CMD_HELP(cmd_passwd_help) BAREBOX_CMD_COMPLETE(empty_complete) BAREBOX_CMD_END -- cgit v1.2.3