Browse Source

K param not on valid option list

phyto 5 months ago
parent
commit
b986b8407d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ui/t.c

+ 1
- 1
ui/t.c View File

@@ -33,7 +33,7 @@ char		*device = "/dev/ttyS0";
33 33
 int		K = 0;
34 34
 // char		ligne[100];
35 35
 
36
-while ((opt = getopt(argc, argv, "d:hv")) != -1) {
36
+while ((opt = getopt(argc, argv, "d:hKv")) != -1) {
37 37
 	switch (opt) {
38 38
 		case 'd':	device = optarg;	break;
39 39
 		case 'h':	help(0);		break;

Loading…
Cancel
Save