summaryrefslogtreecommitdiff
path: root/src/apk.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-10-06 15:52:51 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-10-06 15:54:52 +0300
commitf2d9a1440546da4fc9302a93370039b3a12c77ce (patch)
treedc1b68675ccda6090607390aebc9b776920e8ee9 /src/apk.c
parentf5674b95824126a5f8545103edd76e000a2a3c56 (diff)
downloadapk-tools-f2d9a1440546da4fc9302a93370039b3a12c77ce.tar.gz
apk-tools-f2d9a1440546da4fc9302a93370039b3a12c77ce.tar.bz2
apk-tools-f2d9a1440546da4fc9302a93370039b3a12c77ce.tar.xz
apk-tools-f2d9a1440546da4fc9302a93370039b3a12c77ce.zip
cache: delete more aggressively unneeded cached files
Also if --purge is specified delete all uninstalled packages. Fixes #2889
Diffstat (limited to 'src/apk.c')
-rw-r--r--src/apk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apk.c b/src/apk.c
index 970bbb1..8d44b1f 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -55,8 +55,8 @@ static struct apk_option generic_options[] = {
{ 0x110, "no-progress", "Disable progress bar even for TTYs" },
{ 0x102, "clean-protected", "Do not create .apk-new files in "
"configuration dirs" },
- { 0x106, "purge", "Delete also modified configuration files on "
- "package removal" },
+ { 0x106, "purge", "Delete also modified configuration files (pkg removal) "
+ "and uninstalled packages from cache (cache clean)" },
{ 0x103, "allow-untrusted", "Blindly install packages with untrusted "
"signatures or no signature at all" },
{ 0x104, "simulate", "Show what would be done without actually "