[PATCH 19/34] doc: add documentation for 'false' command
Robert Schwebel
r.schwebel at pengutronix.de
Wed Dec 15 06:51:33 EST 2010
Signed-off-by: Robert Schwebel <r.schwebel at pengutronix.de>
---
Documentation/commands.dox | 2 +-
commands/false.c | 5 +++++
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/Documentation/commands.dox b/Documentation/commands.dox
index cf91a49..087ab4e 100644
--- a/Documentation/commands.dox
+++ b/Documentation/commands.dox
@@ -43,7 +43,7 @@ available in @a Barebox:
@li @subpage exec
@li @subpage exit
@li @subpage export_command
- at li @subpage false
+ at li @subpage false_command
@li @subpage getopt
@li @subpage gpio_get_value_command
@li @subpage gpio_set_value_command
diff --git a/commands/false.c b/commands/false.c
index a90eadc..b7e3983 100644
--- a/commands/false.c
+++ b/commands/false.c
@@ -29,6 +29,11 @@ static int do_false(struct command *cmdtp, int argc, char *argv[])
return 1;
}
+BAREBOX_CMD_HELP_START(false)
+BAREBOX_CMD_HELP_USAGE("false\n")
+BAREBOX_CMD_HELP_SHORT("Do nothing, unsuccessfully.\n")
+BAREBOX_CMD_HELP_END
+
BAREBOX_CMD_START(false)
.cmd = do_false,
.usage = "do nothing, unsuccessfully",
--
1.7.2.3
More information about the barebox
mailing list