summaryrefslogtreecommitdiff
path: root/src/apk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/apk.c')
-rw-r--r--src/apk.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/apk.c b/src/apk.c
index 5266158..89dd53d 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -43,6 +43,8 @@ static struct apk_option generic_options[] = {
{ 0x101, "progress", "Show a progress bar" },
{ 0x102, "clean-protected", "Do not create .apk-new files to "
"configuration dirs" },
+ { 0x106, "purge", "Delete also modified configuration files on "
+ "package removal" },
{ 0x103, "allow-untrusted", "Blindly install packages with untrusted "
"signatures or no signature at all" },
{ 0x104, "simulate", "Show what would be done without actually "
@@ -359,6 +361,9 @@ int main(int argc, char **argv)
case 0x104:
apk_flags |= APK_SIMULATE;
break;
+ case 0x106:
+ apk_flags |= APK_PURGE;
+ break;
case 0x105:
apk_wait = atoi(optarg);
break;