aboutsummaryrefslogtreecommitdiffstats
path: root/src/_port
diff options
context:
space:
mode:
authorChih-Hsuan Yen <yan12125@gmail.com>2019-09-20 22:22:57 +0800
committerChih-Hsuan Yen <yan12125@gmail.com>2019-10-04 17:58:55 +0800
commit0d8db2fb328d227a3ea48c911c56a9875be70b33 (patch)
tree95e0aaff388bbdd420790781d26a1fc4e4e7efa7 /src/_port
parentMerge pull request #651 from jordanrastrick/yarn-script-file-completion (diff)
downloadzsh-completions-0d8db2fb328d227a3ea48c911c56a9875be70b33.tar
zsh-completions-0d8db2fb328d227a3ea48c911c56a9875be70b33.tar.gz
zsh-completions-0d8db2fb328d227a3ea48c911c56a9875be70b33.tar.bz2
zsh-completions-0d8db2fb328d227a3ea48c911c56a9875be70b33.tar.lz
zsh-completions-0d8db2fb328d227a3ea48c911c56a9875be70b33.tar.xz
zsh-completions-0d8db2fb328d227a3ea48c911c56a9875be70b33.tar.zst
zsh-completions-0d8db2fb328d227a3ea48c911c56a9875be70b33.zip
_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
Diffstat (limited to 'src/_port')
-rw-r--r--src/_port3
1 files changed, 3 insertions, 0 deletions
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'