Merge pull request #567 from kiwix/exit-if-argument-error

Exit if wrong argument given to kiwix-serve
pull/565/head
Kelson 4 years ago committed by GitHub
commit da55468a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -291,6 +291,9 @@ int main(int argc, char** argv)
case 's':
searchLimit = atoi(optarg);
break;
case '?':
usage();
return 2;
}
} else {
if (optind < argc) {

Loading…
Cancel
Save