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;