Re: Recent changes to pkg argument parsing (https://reviews.freebsd.org/D49977)
- In reply to: Dan Mahoney (Ports): "Recent changes to pkg argument parsing (https://reviews.freebsd.org/D49977)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 May 2025 08:46:34 UTC
This pkg argument issue is fixed yesterday. https://cgit.freebsd.org/src/commit/?id=73ba568b1c35aabc1682540b5b4d5d77220c5468 Regards, Ronald. Van: "Dan Mahoney (Ports)" <freebsd@gushi.org> Datum: dinsdag, 6 mei 2025 10:18 Aan: "freebsd-current@freebsd.org" <freebsd-current@FreeBSD.org> Onderwerp: Recent changes to pkg argument parsing (https://reviews.freebsd.org/D49977) > > All, > > I just joined the list and can't figure out how to reply to Graham's emails of a few days ago. > > Since this change, I'm also finding cases where regular pkg arguments are being warned about (but still work). > > For example, we've got a cron job on every box that gathers all our leaf packages into a file: > > #!/bin/sh > /usr/sbin/pkg query -e '%#r == 0' '%n-%v' > > We now get warnings: > > # /usr/local/libexec/pkgleaf > pkg: invalid option -- e > > (but the query still runs). > > Has anyone else seen this? > > -Dan > > >