fix option processing not stopping if version or help are used
This commit is contained in:
parent
e303ac5465
commit
1d7deb164a
@ -41,4 +41,8 @@ void parseOptions(int argc, char *argv[]) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (optind == argc) {
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user