[PATCH 08/34] doc: add documentation for 'true' command
Robert Schwebel
r.schwebel at pengutronix.de
Wed Dec 15 06:51:22 EST 2010
Signed-off-by: Robert Schwebel <r.schwebel at pengutronix.de>
---
Documentation/commands.dox | 2 +-
commands/true.c | 5 +++++
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/Documentation/commands.dox b/Documentation/commands.dox
index e25dda0..9348743 100644
--- a/Documentation/commands.dox
+++ b/Documentation/commands.dox
@@ -97,7 +97,7 @@ available in @a Barebox:
@li @subpage source
@li @subpage test
@li @subpage timeout_command
- at li @subpage true
+ at li @subpage true_command
@li @subpage tftp_command
@li @subpage ubiattach_command
@li @subpage ubimkvol_command
diff --git a/commands/true.c b/commands/true.c
index 8c77dec..d77a365 100644
--- a/commands/true.c
+++ b/commands/true.c
@@ -29,6 +29,11 @@ static int do_true(struct command *cmdtp, int argc, char *argv[])
return 0;
}
+BAREBOX_CMD_HELP_START(true)
+BAREBOX_CMD_HELP_USAGE("true\n")
+BAREBOX_CMD_HELP_SHORT("Do nothing, successfully.\n")
+BAREBOX_CMD_HELP_END
+
BAREBOX_CMD_START(true)
.cmd = do_true,
.usage = "do nothing, successfully",
--
1.7.2.3
More information about the barebox
mailing list