aboutsummaryrefslogtreecommitdiff
path: root/man/apkg-redundantdeps.8
blob: 5169e07599249307b68a5741731b115d597a7871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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