Ticket #27245 (closed enhancement: fixed)
base: option to list file sizes in `contents` action
|Reported by:||ww.galen@…||Owned by:||macports-tickets@…|
Here's a simple but (hopefully) useful feature for the contents action: optionally include file sizes in the list of files in a port.
The patch adds support for this action, as well as options that specify the default units for sizes: -K for KiB, -M for MiB, -B for bytes. These options are applicable to other (such as another proposed feature, ticket #27244, to include an action to list the disk space used by an active port), which is why they are global options rather than action flags.