Commit 956bd5f0 authored by Natanael Copa's avatar Natanael Copa

apk: set automatic flags before parsing the opts

Otherwise we cannot override with --no-progress
parent adc5b0b1
......@@ -338,6 +338,7 @@ int main(int argc, char **argv)
}
init_openssl();
setup_automatic_flags();
optindex = 0;
while ((r = getopt_long(argc, argv, short_options,
......@@ -435,7 +436,6 @@ int main(int argc, char **argv)
break;
}
}
setup_automatic_flags();
if (applet == NULL) {
r = usage(NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment