summaryrefslogtreecommitdiffstats
path: root/commands/timeout.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-04-22 10:20:09 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-04-23 08:12:28 +0200
commit78caf2d171c97f7d385654af1778ef3e726173ae (patch)
treead34cb0804078d98750137363d993656e55fa7ca /commands/timeout.c
parent2daf357206ea00ccec0b2c4a916c40054349581a (diff)
downloadbarebox-78caf2d171c97f7d385654af1778ef3e726173ae.tar.gz
command: timeout: add documentation for option '-v'
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/timeout.c')
-rw-r--r--commands/timeout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/timeout.c b/commands/timeout.c
index 3dee960..c8e930c 100644
--- a/commands/timeout.c
+++ b/commands/timeout.c
@@ -110,12 +110,13 @@ BAREBOX_CMD_HELP_OPT("-a", "interrupt on any key")
BAREBOX_CMD_HELP_OPT("-c", "interrupt on Ctrl-C")
BAREBOX_CMD_HELP_OPT("-r", "interrupt on RETURN")
BAREBOX_CMD_HELP_OPT("-s", "silent mode")
+BAREBOX_CMD_HELP_OPT("-v <VARIABLE>", "export pressed key to environment")
BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(timeout)
.cmd = do_timeout,
BAREBOX_CMD_DESC("wait for a specified timeout")
- BAREBOX_CMD_OPTS("[-acrs] SECONDS")
+ BAREBOX_CMD_OPTS("[-acrsv] SECONDS")
BAREBOX_CMD_GROUP(CMD_GRP_CONSOLE)
BAREBOX_CMD_HELP(cmd_timeout_help)
BAREBOX_CMD_END