summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2010-12-10 22:26:31 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2010-12-17 21:28:41 +0100
commitf7acb58208f814af794ca728ab9837b36b5c9ffd (patch)
tree6476435c80e5f309902132ef57daf500101a222a
parent9c8920f7060d659711960a2fd6308d566c0db6bf (diff)
downloadbarebox-f7acb58208f814af794ca728ab9837b36b5c9ffd.tar.gz
barebox-f7acb58208f814af794ca728ab9837b36b5c9ffd.tar.xz
doc: add documentation for 'reset' command
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r--Documentation/commands.dox2
-rw-r--r--commands/reset.c5
2 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/commands.dox b/Documentation/commands.dox
index 023a5597..2d3d5f2e 100644
--- a/Documentation/commands.dox
+++ b/Documentation/commands.dox
@@ -85,7 +85,7 @@ available in @a Barebox:
@li @subpage protect_command
@li @subpage pwd_command
@li @subpage readline_command
-@li @subpage reset
+@li @subpage reset_command
@li @subpage rarpboot
@li @subpage reginfo
@li @subpage rm_command
diff --git a/commands/reset.c b/commands/reset.c
index 46ab9015..64c7f879 100644
--- a/commands/reset.c
+++ b/commands/reset.c
@@ -31,6 +31,11 @@ static int cmd_reset(struct command *cmdtp, int argc, char *argv[])
return 1;
}
+BAREBOX_CMD_HELP_START(reset)
+BAREBOX_CMD_HELP_USAGE("reset\n")
+BAREBOX_CMD_HELP_SHORT("Perform a reset on the cpu.\n")
+BAREBOX_CMD_HELP_END
+
BAREBOX_CMD_START(reset)
.cmd = cmd_reset,
.usage = "Perform RESET of the CPU",