修复bug
This commit is contained in:
parent
bee986b02d
commit
d89c965e61
|
@ -257,7 +257,7 @@ int main(int argc, char* argv[]) {
|
|||
int jsonoutput = 0;
|
||||
int debug = 0;
|
||||
|
||||
while ((ch = getopt(argc, argv, "b:d:Ds:f:jRr")) != -1){
|
||||
while ((ch = getopt(argc, argv, "b:d:Ds:f:jRrv")) != -1){
|
||||
switch (ch) {
|
||||
case 'v': fprintf(stderr,"version: 20230606 by:leovs\n"); exit(2);
|
||||
case 'b': baudrate = atoi(optarg); break;
|
||||
|
|
Loading…
Reference in New Issue