summaryrefslogtreecommitdiff
path: root/src/apk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/apk.c')
-rw-r--r--src/apk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/apk.c b/src/apk.c
index a937be8..bc7a124 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -62,6 +62,7 @@ static void version(struct apk_out *out, const char *prefix)
OPT(OPT_GLOBAL_force, APK_OPT_SH("f") "force") \
OPT(OPT_GLOBAL_force_binary_stdout, "force-binary-stdout") \
OPT(OPT_GLOBAL_force_broken_world, "force-broken-world") \
+ OPT(OPT_GLOBAL_force_missing_repositories, "force-missing-repositories") \
OPT(OPT_GLOBAL_force_no_chroot, "force-no-chroot") \
OPT(OPT_GLOBAL_force_non_repository, "force-non-repository") \
OPT(OPT_GLOBAL_force_old_apk, "force-old-apk") \
@@ -155,6 +156,9 @@ static int option_parse_global(void *ctx, struct apk_ctx *ac, int opt, const cha
case OPT_GLOBAL_force_binary_stdout:
ac->force |= APK_FORCE_BINARY_STDOUT;
break;
+ case OPT_GLOBAL_force_missing_repositories:
+ ac->force |= APK_FORCE_MISSING_REPOSITORIES;
+ break;
case OPT_GLOBAL_interactive:
ac->flags |= APK_INTERACTIVE;
break;