aboutsummaryrefslogtreecommitdiffstats
path: root/src/apk.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-02-16 15:59:55 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-02-16 15:59:55 +0200
commita2a5cd9c696d0d6f2c14b8831e62caf24d16fa50 (patch)
tree165df39ff93f06442aef312f918c00f5deeac1cd /src/apk.c
parent445ea072205cfb2d9ecd9ffb28d88023d5d24ea5 (diff)
downloadapk-tools-a2a5cd9c696d0d6f2c14b8831e62caf24d16fa50.tar.bz2
apk-tools-a2a5cd9c696d0d6f2c14b8831e62caf24d16fa50.tar.xz
fetch: allow enabling --simulate
Diffstat (limited to 'src/apk.c')
-rw-r--r--src/apk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/apk.c b/src/apk.c
index 91673d8..25c5260 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -106,6 +106,9 @@ static int option_parse_global(void *ctx, struct apk_db_options *dbopts, int opt
case 0x101:
apk_flags |= APK_PROGRESS;
break;
+ case 0x104:
+ apk_flags |= APK_SIMULATE;
+ break;
case 0x110:
apk_flags &= ~APK_PROGRESS;
break;