diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2010-12-10 22:31:08 +0100 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2010-12-17 21:28:41 +0100 |
commit | a031331250f35e2a131ed1440bdadfe69838b84e (patch) | |
tree | 05a8954a5420b0b9e6d3665739595275ec11fafa | |
parent | 6c11801a35953ef56d45b3c57d88f5dbacdf1c4a (diff) | |
download | barebox-a031331250f35e2a131ed1440bdadfe69838b84e.tar.gz barebox-a031331250f35e2a131ed1440bdadfe69838b84e.tar.xz |
doc: add documentation for 'meminfo' command
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r-- | Documentation/commands.dox | 2 | ||||
-rw-r--r-- | commands/meminfo.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/commands.dox b/Documentation/commands.dox index c26abc26..907818ea 100644 --- a/Documentation/commands.dox +++ b/Documentation/commands.dox @@ -68,7 +68,7 @@ available in @a Barebox: @li @subpage lsmod_command @li @subpage md @li @subpage memcmp -@li @subpage meminfo +@li @subpage meminfo_command @li @subpage memset @li @subpage menu @li @subpage mkdir_command diff --git a/commands/meminfo.c b/commands/meminfo.c index abbaf9c0..176a636b 100644 --- a/commands/meminfo.c +++ b/commands/meminfo.c @@ -30,6 +30,11 @@ static int do_meminfo(struct command *cmdtp, int argc, char *argv[]) return 0; } +BAREBOX_CMD_HELP_START(meminfo) +BAREBOX_CMD_HELP_USAGE("meminfo\n") +BAREBOX_CMD_HELP_SHORT("Print info about memory usage.\n") +BAREBOX_CMD_HELP_END + BAREBOX_CMD_START(meminfo) .cmd = do_meminfo, .usage = "print info about memory usage", |