Ticket #11494: _port.diff

File _port.diff, 1.1 KB (added by ehainry@…, 18 years ago)
  • _port

    old new  
    55# we cache the list of ports
    66# we shall use some cache policy to avoid problems with new ports
    77if (( ! $+portlist )); then
    8         portlist=($(port list | cut -f 1))
     8        portlist=($(port list | cut -f 1 -d ' '; echo 'all current active inactive installed uninstalled outdated'))
    99fi
    1010
    1111subcmds=(
    12 'install'
    13 'uninstall'
    14 'installed'
    15 'outdated'
    16 'upgrade'
    17 'deactivate'
    1812'activate'
     13'archive'
     14'build'
     15'cat'
    1916'clean'
    20 'distclean'
    21 'search'
    22 'list'
     17'configure'
    2318'contents'
     19'deactivate'
     20'dependents'
    2421'deps'
    25 'variants'
    26 'info'
    27 'fetch'
     22'destroot'
     23'dir'
     24'distcheck'
     25'distclean'
     26'dmg'
     27'echo'
     28'edit'
    2829'extract'
     30'fetch'
     31'file'
     32'help'
     33'info'
     34'install'
     35'installed'
     36'list'
     37'livecheck'
     38'location'
     39'mpkg'
     40'outdated'
    2941'patch'
    30 'configure'
    31 'build'
    32 'destroot'
    33 'test'
    3442'pkg'
    35 'mpkg'
    36 'dmg'
     43'provides'
    3744'rpmpackage'
    38 'archive'
     45'search'
     46'selfupdate'
     47'sync'
     48'test'
    3949'unarchive'
     50'uninstall'
     51'upgrade'
     52'variants'
     53'version'
    4054)
    4155
    4256_arguments -C \