[PATCH v2 1/5] command: timeout: remove unhandled '-t' option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 commands/timeout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/timeout.c b/commands/timeout.c
index feca7140d59d..3dee9606eb5d 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;
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux