K param not on valid option list

This commit is contained in:
phyto 2019-05-22 11:30:56 +02:00
джерело 1b03d60613
коміт b986b8407d
1 змінених файлів з 1 додано та 1 видалено

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