diff options
-rw-r--r-- | Documentation/commands.dox | 2 | ||||
-rw-r--r-- | commands/lsmod.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/commands.dox b/Documentation/commands.dox index 0293edce..04718b83 100644 --- a/Documentation/commands.dox +++ b/Documentation/commands.dox @@ -65,7 +65,7 @@ available in @a Barebox: @li @subpage loadxc @li @subpage login @li @subpage ls_command -@li @subpage lsmod +@li @subpage lsmod_command @li @subpage md @li @subpage memcmp @li @subpage meminfo diff --git a/commands/lsmod.c b/commands/lsmod.c index 26d2fe4e..9a90e889 100644 --- a/commands/lsmod.c +++ b/commands/lsmod.c @@ -12,6 +12,11 @@ static int do_lsmod(struct command *cmdtp, int argc, char *argv[]) return 0; } +BAREBOX_CMD_HELP_START(lsmod) +BAREBOX_CMD_HELP_USAGE("lsmod\n") +BAREBOX_CMD_HELP_SHORT("List modules.\n") +BAREBOX_CMD_HELP_END + BAREBOX_CMD_START(lsmod) .cmd = do_lsmod, .usage = "list modules", |