From 0d8db2fb328d227a3ea48c911c56a9875be70b33 Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen Date: Fri, 20 Sep 2019 22:22:57 +0800 Subject: [PATCH] _port: add new subcommands 'bump', 'diagnose' and 'reclaim' Subcommand descriptions are from upstream man pages [1][2][3]. [1] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-bump.1.txt [2] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-diagnose.1.txt [3] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-reclaim.1.txt --- src/_port | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/_port b/src/_port index d186ef9..14d2153 100644 --- a/src/_port +++ b/src/_port @@ -54,6 +54,7 @@ _port() { 'archive\:Archive\ the\ given\ ports,\ i.e.\ install\ the\ port\ image\ but\ do\ not\ activate' 'archivefetch\:Fetch\ archive\ for\ the\ given\ ports' 'build\:Build\ the\ given\ ports' + 'bump\:Update\ the\ outdated\ checksums\ of\ a\ Portfile' 'cat\:Writes\ the\ Portfiles\ of\ the\ given\ ports\ to\ stdout' 'checksum\:Compares\ the\ checksums\ for\ the\ downloaded\ files\ of\ the\ given\ ports' 'clean\:Removes\ files\ associated\ with\ the\ given\ ports' @@ -63,6 +64,7 @@ _port() { 'dependents\:Returns\ a\ list\ of\ installed\ dependents\ for\ each\ of\ the\ given\ ports' 'deps\:Display\ a\ dependency\ listing\ for\ the\ given\ ports' 'destroot\:Destroot\ the\ given\ ports' + 'diagnose\:Detects\ common\ issues' 'dir\:Returns\ the\ directories\ of\ the\ given\ ports' 'distcheck\:Checks\ if\ the\ given\ ports\ can\ be\ fetched\ from\ all\ of\ its\ master_sites' 'distfiles\:Returns\ a\ list\ of\ distfiles\ for\ the\ given\ port' @@ -96,6 +98,7 @@ _port() { 'provides\:Return\ which\ port\ provides\ each\ of\ the\ files\ given' 'rdependents\:Recursive\ version\ of\ dependents' 'rdeps\:Display\ a\ recursive\ dependency\ listing\ for\ the\ given\ ports' + 'reclaim\:Reclaims\ disk\ space' 'rev-upgrade\:Scan\ for\ broken\ binaries\ in\ the\ installed\ ports\ and\ rebuild\ them\ as\ needed' 'rpm\:Creates\ a\ rpm\ for\ each\ of\ the\ given\ ports' 'search\:Search\ for\ a\ port'