修复bug

This commit is contained in:
刘有缘 2023-06-08 16:11:03 +08:00
parent bee986b02d
commit d89c965e61
1 changed files with 1 additions and 1 deletions

View File

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