diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-19 09:25:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-19 10:00:31 +0000 |
commit | 956bd5f0327551b35399e431e01849e7479ee2f7 (patch) | |
tree | 32c761183270766023dc8e0c437e0bc53a657ee7 | |
parent | adc5b0b16127049307283b9b59d7f0705ba8adc2 (diff) | |
download | apk-tools-956bd5f0327551b35399e431e01849e7479ee2f7.tar.gz apk-tools-956bd5f0327551b35399e431e01849e7479ee2f7.tar.bz2 apk-tools-956bd5f0327551b35399e431e01849e7479ee2f7.tar.xz apk-tools-956bd5f0327551b35399e431e01849e7479ee2f7.zip |
apk: set automatic flags before parsing the opts
Otherwise we cannot override with --no-progress
-rw-r--r-- | src/apk.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |