aboutsummaryrefslogtreecommitdiff
path: root/man/apkg-purge.8
diff options
context:
space:
mode:
authoremmett1 <me@emmett1.my>2026-05-29 23:40:06 +0800
committeremmett1 <me@emmett1.my>2026-05-29 23:40:06 +0800
commit49717b9544bacbcd38a10b791adcb4a4aa2e9162 (patch)
treed032595b7f70de43df9e485ce7da196bb125aee3 /man/apkg-purge.8
parent53900763c5574fe60beb877dda57ea76941f7cec (diff)
downloadautils-49717b9544bacbcd38a10b791adcb4a4aa2e9162.tar.gz
autils-49717b9544bacbcd38a10b791adcb4a4aa2e9162.zip
updates
Diffstat (limited to 'man/apkg-purge.8')
-rw-r--r--man/apkg-purge.832
1 files changed, 32 insertions, 0 deletions
diff --git a/man/apkg-purge.8 b/man/apkg-purge.8
new file mode 100644
index 0000000..cbc92cf
--- /dev/null
+++ b/man/apkg-purge.8
@@ -0,0 +1,32 @@
+.\" -*- mode: troff; coding: utf-8 -*-
+.TH APKG-PURGE 8
+.SH NAME
+apkg-purge \- remove a package and its unused dependencies
+.SH DESCRIPTION
+.LP
+\fBapkg-purge\fR removes a package and all its dependencies that are no longer
+required by any other installed package. This is a "deep" removal compared to
+\fBapkg -r\fR which only removes the specified package.
+.SH OPTIONS
+.TP
+\fB-p\fR
+Purge (remove from system). Without this flag, the script prints what would be
+removed without taking action (dry-run mode).
+.TP
+\fB-h\fR
+Print help message.
+.SH EXAMPLES
+.LP
+\f(CRapkg-purge mypkg\fR - Show what would be removed when purging mypkg.
+.PP
+\f(CRapkg-purge -p mypkg\fR - Actually purge mypkg and its now-unused dependencies.
+.SH AUTHORS
+.LP
+emmett1 \c
+.MT me@emmett1.my
+.ME
+.SH REPORTING BUGS
+.LP
+Please report bugs and issues in the project issue tracker: \c
+.UR https://codeberg.org/emmett1/autils/issues
+.UE