diff options
Diffstat (limited to 'man/apkg-redundantdeps.8')
| -rw-r--r-- | man/apkg-redundantdeps.8 | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/man/apkg-redundantdeps.8 b/man/apkg-redundantdeps.8 new file mode 100644 index 0000000..5169e07 --- /dev/null +++ b/man/apkg-redundantdeps.8 @@ -0,0 +1,35 @@ +.\" -*- 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 |