Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2021 11:56:07 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Mel Pilgrim <list_freebsd@bluerosetech.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkg alias commands missing after upgrading to 1.17.5
Message-ID:  <20211203105607.nggtpashet7f6d7f@aniel.nours.eu>
In-Reply-To: <83dabf19-6e42-c3ab-e553-1525035c66fe@bluerosetech.com>
References:  <83dabf19-6e42-c3ab-e553-1525035c66fe@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 03, 2021 at 02:28:58AM -0800, Mel Pilgrim wrote:
> After upgrading pkg from 1.17.4 to 1.17.5, all of the command line aliases
> appear to have been removed?
> 
> With pkg 1.17.4:
> 
> # pkg alias
> ALIAS                ARGUMENTS
> all-depends          'query %dn-%dv'
> annotations          'info -A'
> build-depends        'info -qd'
> cinfo                'info -Cx'
> comment              'query -i "%c"'
> csearch              'search -Cx'
> desc                 'query -i "%e"'
> download             'fetch'
> iinfo                'info -ix'
> isearch              'search -ix'
> prime-list           'query -e '%a = 0' '%n''
> prime-origins        'query -e '%a = 0' '%o''
> leaf                 'query -e '%#r == 0' '%n-%v''
> list                 'info -ql'
> noauto               'query -e '%a == 0' '%n-%v''
> options              'query -i "%n - %Ok: %Ov"'
> origin               'info -qo'
> provided-depends     'info -qb'
> rall-depends         'rquery %dn-%dv'
> raw                  'info -R'
> rcomment             'rquery -i "%c"'
> rdesc                'rquery -i "%e"'
> required-depends     'info -qr'
> roptions             'rquery -i "%n - %Ok: %Ov"'
> shared-depends       'info -qB'
> show                 'info -f -k'
> size                 'info -sq'
> unmaintained         'query -e '%m = "ports@FreeBSD.org"' '%o (%w)''
> runmaintained        'rquery -e '%m = "ports@FreeBSD.org"' '%o (%w)''
> 
> With pkg-1.17.5:
> 
> # pkg alias
> ALIAS                ARGUMENTS
> # pkg leaf
> pkg: unknown command: leaf
> 
> For more information on available commands and options see 'pkg help'.
> 

I don't know what happened in your case, but I cannot reproduce.

Baptiste



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211203105607.nggtpashet7f6d7f>