diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2010-07-11 12:21:09 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-11-01 16:23:08 +0100 |
commit | 91bca347c6cef5e6aee45581e287041dcc25eb2e (patch) | |
tree | f69b0bf673d55b4ee46c09f6fd3ab5b1b45b040e | |
parent | f70704550d7a2d31fb84475c754c4a9b4f38781b (diff) | |
download | barebox-91bca347c6cef5e6aee45581e287041dcc25eb2e.tar.gz barebox-91bca347c6cef5e6aee45581e287041dcc25eb2e.tar.xz |
doc: add documentation for 'clear'
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r-- | Documentation/commands.dox | 1 | ||||
-rw-r--r-- | commands/clear.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/commands.dox b/Documentation/commands.dox index ac280d6190..b065ca47f6 100644 --- a/Documentation/commands.dox +++ b/Documentation/commands.dox @@ -5,6 +5,7 @@ @li @subpage bmp_command @li @subpage cat_command @li @subpage cd_command +@li @subpage clear_command @li @subpage cp_command @li @subpage delpart_command @li @subpage devinfo_command diff --git a/commands/clear.c b/commands/clear.c index 7589a0c380..6a6b6c5a2d 100644 --- a/commands/clear.c +++ b/commands/clear.c @@ -31,6 +31,11 @@ static int do_clear(struct command *cmdtp, int argc, char *argv[]) return 0; } +BAREBOX_CMD_HELP_START(clear) +BAREBOX_CMD_HELP_USAGE("clear\n") +BAREBOX_CMD_HELP_SHORT("Clear the screen.\n") +BAREBOX_CMD_HELP_END + BAREBOX_CMD_START(clear) .cmd = do_clear, .usage = "clear screen", |