Argparsing bug hotfix
This commit is contained in:
parent
bc06589fb3
commit
576b1389c8
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user