Argparsing bug hotfix

This commit is contained in:
Shav Kinderlehrer 2023-04-20 10:30:55 -04:00
parent bc06589fb3
commit 576b1389c8

View File

@ -87,10 +87,12 @@ void parselongarg(char *arg) {
if (strcmp(arg, "--literal") == 0) { if (strcmp(arg, "--literal") == 0) {
conf.literal = !conf.literal; conf.literal = !conf.literal;
return;
} }
if (strcmp(arg, "--pager") == 0) { if (strcmp(arg, "--pager") == 0) {
conf.pager = !conf.pager; conf.pager = !conf.pager;
return;
} }
if (strcmp(arg, "--help") == 0) { if (strcmp(arg, "--help") == 0) {