summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2010-12-10 21:59:35 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2010-12-17 21:28:40 +0100
commit31bc6437c9ea3f710c6817f7d1642cfc19004504 (patch)
tree23ef31e2bfbbc6f4c6aa0fdf255b5e85ae789179
parent63a4fea525d139675c116299b2281b5cf4fd0e27 (diff)
downloadbarebox-31bc6437c9ea3f710c6817f7d1642cfc19004504.tar.gz
barebox-31bc6437c9ea3f710c6817f7d1642cfc19004504.tar.xz
doc: add documentation for 'lsmod' command
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r--Documentation/commands.dox2
-rw-r--r--commands/lsmod.c5
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",