summaryrefslogtreecommitdiff
path: root/src/apk_defines.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-08-04 10:57:33 +0300
committerTimo Teras <timo.teras@iki.fi>2009-08-04 10:57:33 +0300
commit6f8526da3e7fb055dc3ee640b943906e517f63f1 (patch)
tree974b1ebaf99a9defc4bf5d3989d1d5c738295172 /src/apk_defines.h
parent59dcbfefeeeb42bc5a499f7bc9540111179e6cbe (diff)
downloadapk-tools-6f8526da3e7fb055dc3ee640b943906e517f63f1.tar.gz
apk-tools-6f8526da3e7fb055dc3ee640b943906e517f63f1.tar.bz2
apk-tools-6f8526da3e7fb055dc3ee640b943906e517f63f1.tar.xz
apk-tools-6f8526da3e7fb055dc3ee640b943906e517f63f1.zip
del: add '-r' to remove top-level dependencies recursively
and by default just update the world, and dump a lost of packages that are not removed. fixes #47.
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r--src/apk_defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h
index 0dc0c20..27d4ee4 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -62,6 +62,7 @@ extern unsigned int apk_flags;
#define APK_ALLOW_UNTRUSTED 0x0100
#define APK_PURGE 0x0200
#define APK_INTERACTIVE 0x0400
+#define APK_RECURSIVE_DELETE 0x0800
#define apk_error(args...) do { apk_log("ERROR: ", args); } while (0)
#define apk_warning(args...) do { if (apk_verbosity > 0) { apk_log("WARNING: ", args); } } while (0)