diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2010-12-10 22:24:54 +0100 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2010-12-17 21:28:41 +0100 |
commit | 9c8920f7060d659711960a2fd6308d566c0db6bf (patch) | |
tree | 48e0d2e411f229d5734cf0db75608f0f57136c41 | |
parent | 0bb44bf0f6a97f8c4d4d5654069ecff71511ccab (diff) | |
download | barebox-9c8920f7060d659711960a2fd6308d566c0db6bf.tar.gz barebox-9c8920f7060d659711960a2fd6308d566c0db6bf.tar.xz |
doc: add documentation for 'exec' command
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r-- | Documentation/commands.dox | 2 | ||||
-rw-r--r-- | commands/exec.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/commands.dox b/Documentation/commands.dox index 087ab4e6..023a5597 100644 --- a/Documentation/commands.dox +++ b/Documentation/commands.dox @@ -40,7 +40,7 @@ available in @a Barebox: @li @subpage edit_command @li @subpage erase_command @li @subpage ethact -@li @subpage exec +@li @subpage exec_command @li @subpage exit @li @subpage export_command @li @subpage false_command diff --git a/commands/exec.c b/commands/exec.c index 5f093b7b..7f655b65 100644 --- a/commands/exec.c +++ b/commands/exec.c @@ -53,6 +53,11 @@ out: return 1; } +BAREBOX_CMD_HELP_START(exec) +BAREBOX_CMD_HELP_USAGE("exec SCRIPT\n") +BAREBOX_CMD_HELP_SHORT("Execute a script.\n") +BAREBOX_CMD_HELP_END + BAREBOX_CMD_START(exec) .cmd = do_exec, .usage = "execute a script", |