diff options
| author | emmett1 <me@emmett1.my> | 2026-05-29 23:40:06 +0800 |
|---|---|---|
| committer | emmett1 <me@emmett1.my> | 2026-05-29 23:40:06 +0800 |
| commit | 49717b9544bacbcd38a10b791adcb4a4aa2e9162 (patch) | |
| tree | d032595b7f70de43df9e485ce7da196bb125aee3 /man/apkg-redundantdeps.8 | |
| parent | 53900763c5574fe60beb877dda57ea76941f7cec (diff) | |
| download | autils-49717b9544bacbcd38a10b791adcb4a4aa2e9162.tar.gz autils-49717b9544bacbcd38a10b791adcb4a4aa2e9162.zip | |
updates
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 |