K param not on valid option list

This commit is contained in:
phyto 2019-05-22 11:30:56 +02:00
förälder 1b03d60613
incheckning b986b8407d
1 ändrade filer med 1 tillägg och 1 borttagningar

2
ui/t.c
Visa fil

@ -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;