.\" -*- mode: troff; coding: utf-8 -*- .TH APKG-REDUNDANTDEPS 8 .SH NAME apkg-redundantdeps \- find and fix redundant dependencies .SH DESCRIPTION .LP \fBapkg-redundantdeps\fR finds redundant entries in package dependency files. A dependency is considered redundant if it is already pulled in by another listed dependency (transitive dependency). This helps keep \fIdepends\fR files clean by listing only direct dependencies. .SH OPTIONS .TP \fB-f\fR Fix mode: remove the redundant dependencies from the \fIdepends\fR files. Without this flag, the script prints redundant entries without modifying anything. .TP \fB-h\fR Print help message. .SH EXAMPLES .LP \f(CRapkg-redundantdeps mypkg\fR - Check mypkg for redundant dependencies. .PP \f(CRapkg-redundantdeps\fR - Check all packages in configured repos. .PP \f(CRapkg-redundantdeps -f mypkg\fR - Remove redundant dependencies from mypkg. .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