mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-23 12:00:21 -04:00
+ small fix on getopt to accept the -i (buildindex) argument
This commit is contained in:
parent
cdad31f904
commit
20b164091a
@ -60,7 +60,7 @@ int main(int argc, char **argv) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (c != -1) {
|
if (c != -1) {
|
||||||
c = getopt_long(argc, argv, "vb:", long_options, &option_index);
|
c = getopt_long(argc, argv, "vib:", long_options, &option_index);
|
||||||
|
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 'v':
|
case 'v':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user