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;