From b986b8407dcda37d8e18c5138f239476be644f16 Mon Sep 17 00:00:00 2001 From: phyto Date: Wed, 22 May 2019 11:30:56 +0200 Subject: [PATCH] K param not on valid option list --- ui/t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/t.c b/ui/t.c index c2d82be..724e6c7 100644 --- a/ui/t.c +++ b/ui/t.c @@ -33,7 +33,7 @@ char *device = "/dev/ttyS0"; int K = 0; // char ligne[100]; -while ((opt = getopt(argc, argv, "d:hv")) != -1) { +while ((opt = getopt(argc, argv, "d:hKv")) != -1) { switch (opt) { case 'd': device = optarg; break; case 'h': help(0); break;