Re: pkg alias commands missing after upgrading to 1.17.5

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Fri, 03 Dec 2021 10:56:07 UTC
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