apk: set automatic flags before parsing the opts
Otherwise we cannot override with --no-progresscute-signatures
parent
adc5b0b161
commit
956bd5f032
|
@ -338,6 +338,7 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
init_openssl();
|
init_openssl();
|
||||||
|
setup_automatic_flags();
|
||||||
|
|
||||||
optindex = 0;
|
optindex = 0;
|
||||||
while ((r = getopt_long(argc, argv, short_options,
|
while ((r = getopt_long(argc, argv, short_options,
|
||||||
|
@ -435,7 +436,6 @@ int main(int argc, char **argv)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
setup_automatic_flags();
|
|
||||||
|
|
||||||
if (applet == NULL) {
|
if (applet == NULL) {
|
||||||
r = usage(NULL);
|
r = usage(NULL);
|
||||||
|
|
Loading…
Reference in New Issue