From 49717b9544bacbcd38a10b791adcb4a4aa2e9162 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Fri, 29 May 2026 23:40:06 +0800 Subject: updates --- man/apkg-purge.8 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 man/apkg-purge.8 (limited to 'man/apkg-purge.8') 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 -- cgit v1.2.3