summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2010-12-10 22:28:53 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2010-12-17 21:28:41 +0100
commit6c11801a35953ef56d45b3c57d88f5dbacdf1c4a (patch)
tree0b3fabcc52592871d28b418caf58203f73b0a295
parentf7acb58208f814af794ca728ab9837b36b5c9ffd (diff)
downloadbarebox-6c11801a35953ef56d45b3c57d88f5dbacdf1c4a.tar.gz
barebox-6c11801a35953ef56d45b3c57d88f5dbacdf1c4a.tar.xz
doc: add documentation for 'reginfo' command
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r--Documentation/commands.dox2
-rw-r--r--commands/reginfo.c12
2 files changed, 13 insertions, 1 deletions
diff --git a/Documentation/commands.dox b/Documentation/commands.dox
index 2d3d5f2e..c26abc26 100644
--- a/Documentation/commands.dox
+++ b/Documentation/commands.dox
@@ -87,7 +87,7 @@ available in @a Barebox:
@li @subpage readline_command
@li @subpage reset_command
@li @subpage rarpboot
-@li @subpage reginfo
+@li @subpage reginfo_command
@li @subpage rm_command
@li @subpage rmdir_command
@li @subpage saveenv_command
diff --git a/commands/reginfo.c b/commands/reginfo.c
index 90651d5a..6e5be311 100644
--- a/commands/reginfo.c
+++ b/commands/reginfo.c
@@ -29,6 +29,18 @@ static int do_reginfo(struct command *cmdtp, int argc, char *argv[])
return 0;
}
+BAREBOX_CMD_HELP_START(reginfo)
+BAREBOX_CMD_HELP_USAGE("reginfo\n")
+BAREBOX_CMD_HELP_SHORT("Print register information.\n")
+BAREBOX_CMD_HELP_END
+
+/**
+ * @page reginfo_command
+
+\todo Add more reginfo documentation.
+
+ */
+
BAREBOX_CMD_START(reginfo)
.cmd = do_reginfo,
.usage = "print register information",