fae34b383d6432f7118c2ad082224f6d27d51221

Author
Søren Nielsen <contact@cph.dev>
Committer
GitHub <noreply@github.com>
Date

Message

feat(macports): add 'reclaim' to completion list for Macports (#9521)

The sub-command `reclaim` is quite useful for freeing up disk space.
`reclaim` is a useful command that is missing from the list of completions in the plugin.

The description is for the `reclaim` sub-command is:
"port reclaim will find files that can be removed to reclaim disk space by uninstalling inactive ports on your system as well as unnecessary unrequested ports, and removing unneeded or unused installation files. The user is then provided interactive options for files to remove. No files are removed initially, until the user selects them from the provided list."

For all the details use this command on a system with Macports installed:

`port help reclaim`

Diff

 1diff --git a/plugins/macports/_port b/plugins/macports/_port
 2index 6a9ebe0c6fc6446702627178c3ffe4046fcb3970..897598a4608bcde22f2283b110e70106dee54e3c 100644
 3--- a/plugins/macports/_port
 4+++ b/plugins/macports/_port
 5@@ -43,6 +43,7 @@ subcmds=(
 6 'provides'
 7 'rdependents'
 8 'rdeps'
 9+'reclaim'
10 'rpmpackage'
11 'search'
12 'selfupdate'