summaryrefslogtreecommitdiffstats
path: root/commands/timeout.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-04-22 10:20:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-04-23 08:12:28 +0200
commit2daf357206ea00ccec0b2c4a916c40054349581a (patch)
tree5005303cd6eca4f9355a960f2632ec73751809d8 /commands/timeout.c
parent143eb1d3b413bcabe4fa1029d5cfb2c987719ed4 (diff)
downloadbarebox-2daf357206ea00ccec0b2c4a916c40054349581a.tar.gz
barebox-2daf357206ea00ccec0b2c4a916c40054349581a.tar.xz
command: timeout: remove unhandled '-t' option
This patch removes the option '-t', as it's unhandled in the code since it was added to barebox. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/timeout.c b/commands/timeout.c
index feca7140d5..3dee9606eb 100644
--- a/commands/timeout.c
+++ b/commands/timeout.c
@@ -37,7 +37,7 @@ static int do_timeout(int argc, char *argv[])
uint64_t start, second;
const char *varname = NULL;
- while((opt = getopt(argc, argv, "t:crsav:")) > 0) {
+ while((opt = getopt(argc, argv, "crsav:")) > 0) {
switch(opt) {
case 'r':
flags |= TIMEOUT_RETURN;