mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
tester: interpret any -l as -l8
This commit is contained in:
parent
194c739038
commit
b9e941e51e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user