tester: interpret any -l as -l8

This commit is contained in:
nick black 2021-05-16 07:33:24 -04:00 committed by Nick Black
parent 194c739038
commit b9e941e51e

View File

@ -40,7 +40,7 @@ handle_opts(const char** argv){
inarg = false; inarg = false;
}else if(strcmp(*argv, "-p") == 0){ }else if(strcmp(*argv, "-p") == 0){
inarg = true; inarg = true;
}else if(strcmp(*argv, "-l") == 0){ }else if(strncmp(*argv, "-l", 2) == 0){ // just require -l
loglevel = NCLOGLEVEL_TRACE; loglevel = NCLOGLEVEL_TRACE;
} }
++argv; ++argv;